Skip to content

marvinosswald/laravel-socialmedia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#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