2017 © Pedro Peláez
 

library socialall

SocialAll is one API for all networks

image

sandklock/socialall

SocialAll is one API for all networks

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

SocialAll

SocialAll API library for PHP, (*1)

Note: SocialAll is an unified API for 15+ popular social networks that supports social login, posting (supported video & photo), messaging and friends inviting., (*2)

Installation

$ composer require sandklock/socialall

Go to SocialAll and register an application for free., (*3)

Usage

~~~ php require_once 'vendor/autoload.php';, (*4)

$sa = new SocialAll\SocialAll($app_id, $secret_key);, (*5)

error_log($sa->getLoginUrl('facebook', 'http://yourdomain.com/callback'));, (*6)


## API ~~~ php $sa->getLoginUrl($network, $callback_url)
  • $network -- string -- see networks
  • $callback_url -- string
  • returns string login url

~~~ php $sa->getUser($token, $callback), (*7)


* `$token` -- `string` * `$callback` -- `function ($err, $user)` ~~~ php $sa->getFriends($token, $callback)
  • $token -- string -- token given by SocialAll
  • $callback -- function ($err, $friends)

~~~ php $sa->postStream($token, $message, $callback), (*8)


* `$token` -- `string` * `$message` -- `string` * `$callback` -- `function ($err)` ~~~ php $sa->sendMessage($token, $message, $friends, $title, $callback)
  • $token -- string
  • $message -- string
  • $friends -- array -- list of friend's IDs
  • $title -- string
  • $callback -- function ($err)

Networks

  • disqus
  • facebook
  • foursquare
  • github
  • google
  • lastfm
  • linkedin
  • live
  • mailru
  • plurk
  • reddit
  • tumblr
  • twitter
  • vkontakte
  • wordpress

Bugs and Issues

If you encounter any bugs or issues, feel free to open an issue at github., (*9)

Credits

SandKlock, (*10)

The Versions

03/02 2016

dev-master

9999999-dev https://github.com/sandklock/soclall-api-php

SocialAll is one API for all networks

  Sources   Download

The Requires

  • php >=5.2.0

 

login publish friend posting soclall socialall

30/10 2015

2.1.0

2.1.0.0 https://github.com/sandklock/soclall-api-php

SocialAll is one API for all networks

  Sources   Download

The Requires

  • php >=5.2.0

 

login publish friend posting soclall socialall

21/09 2015

2.0.1

2.0.1.0 https://github.com/sandklock/soclall-api-php

SoclAll is one API for all networks

  Sources   Download

The Requires

  • php >=5.2.0

 

login publish friend posting soclall socialall

17/09 2015

2.0.0

2.0.0.0 https://soclall.com

SoclAll is one API for all networks

  Sources   Download

The Requires

  • php >=5.2.0

 

login publish friend posting soclall socialall