marvinosswald/laravel-socialmedia

A laravel adapter for social media networks

0.3.0 2016-07-19 14:46 UTC

This package is not auto-updated.

Last update: 2022-05-08 20:04:28 UTC


README

#laravel-socialmedia

Build Status MIT License

The first step will be to implement a post function for each Driver and on this way a matching delete function for testing reasons.

Install


    'providers' = [
    ...
        marvinosswald\Socialmedia\Providers\SocialmediaServiceProvider::class
    ],
    'aliases' = [
    ...
        'Socialmedia' => marvinosswald\Socialmedia\Facades\Socialmedia::class
    ]

Usage

Socialmedia::post($params,$drivers=[]);

Drivers

Socialmedia Network Drivers, in the process I would like to craft somekind of unified api for all of them

Facebook

Api Documentation

Obtain permanent Access Token: http://stackoverflow.com/a/28418469

Settings

ENV Variables
  • FACEBOOK_APP_ID
  • FACEBOOK_APP_SECRET
  • FACEBOOK_ACCESS_TOKEN

Twitter

Api Documentation

Obtain permanent Access Token: https://dev.twitter.com/oauth/overview/application-owner-access-tokens

Settings

ENV Variables
  • TWITTER_ACCESS_TOKEN
  • TWITTER_ACCESS_TOKEN_SECRET
  • TWITTER_CONSUMER_KEY
  • TWITTER_CONSUMER_SECRET

Pinterest

Api Documentation

How to get an access token:

Settings

ENV Variables
  • PINTEREST_APP_ID
  • PINTEREST_APP_SECRET
  • PINTEREST_ACCESS_TOKEN

Instagram

Hacky api endpoint

Google+

API Documentation