This library provide an abstracted API for using various social networks APIs.
Supported Platforms
Functionality
- Authentication
- OAuth v1 and v2
- Retrieve Current User
- Current OAuth User
- Search Posts
- e.g. Search Tweets
- Retrieve Post by ID
- e.g. Get Tweet
- Comment on Posts
- e.g. Reply to Tweet
Install via Composer:
"require": {
"evolution7/social-api": "1.*"
}
Select a Platform for setup and configuration instructions:
Example code is included in the Evolution7/SocialApi/Resources/example/
directory.
To see the example code in action:
- Place your API key/secret in the config.php file
- Launch a PHP server, e.g.
php -S 0.0.0.0:8080
- Visit the index.php page and try out the examples
Note: you'll need to authenticate succesfully before any other examples will work.
MIT license Copyright (c) 2014, Evolution 7.