2017 © Pedro Peláez
 

library socialite

Simple social media wrapper

image

alanmonger/socialite

Simple social media wrapper

  • Tuesday, January 13, 2015
  • by haveacigaro
  • Repository
  • 1 Watchers
  • 0 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

SensioLabsInsight, (*1)

Socialite

Socialite is a social media component which allows posting to popular social media platforms either independently or in bulk., (*2)

Single Post Use

Posting to facebook

    $facebook = Socialite\Service\ServiceFactory::facebook($appId, $appSecret);

    $message = new Socialite\Message();
    $message->setBody("Test Post");

    $facebook->post($message);

Posting to Twitter

    $twitter = ServiceFactory::twitter($consumerKey, $consumerSecret, $token, $tokenSecret);

    $message = new Socialite\Message();
    $message->setBody("Test Post");

    $twitter->post($message);

Bulk Post

    $twitter    = \Socialite\Service\ServiceFactory::twitter($consumerKey, $consumerSecret, $token, $tokenSecret);
    $facebook   = \Socialite\Service\ServiceFactory::facebook($appId, $appSecret);
    $post       = new \Socialite\Message();

    $post->setBody("test");

    $bulk = new \Socialite\Post\Bulk;

    $bulk
        ->addPost($twitter)
        ->addPost($facebook)
        ->send($post)
    ;

The Versions

13/01 2015

dev-master

9999999-dev

Simple social media wrapper

  Sources   Download

MIT

The Requires

 

by Alan Monger

12/01 2015

1.0.2

1.0.2.0

Simple social media wrapper

  Sources   Download

MIT

The Requires

 

by Alan Monger

12/01 2015

1.0.1

1.0.1.0

Simple social media wrapper

  Sources   Download

MIT

The Requires

 

by Alan Monger

12/01 2015

v1.0.0

1.0.0.0

Simple social media wrapper

  Sources   Download

The Requires

 

by Alan Monger