evolution7 / social-api
Social Network API Abstraction Library
v1.0.1
2014-07-21 03:30 UTC
Requires
- php: >=5.4
- guzzlehttp/guzzle: ~4.0
- lusitanian/oauth: ~0.3
Requires (Dev)
- evolution7/qa-tools: 1.*
This package is not auto-updated.
Last update: 2024-11-23 12:51:54 UTC
README
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
Installation
Install via Composer:
"require": {
"evolution7/social-api": "1.*"
}
Configuration
Select a Platform for setup and configuration instructions:
Usage
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.
License
MIT license Copyright (c) 2014, Evolution 7.