Skip to content

Repository files navigation

Social Network API Abstraction Library

This library provide an abstracted API for using various social networks APIs.

Supported Platforms

  • Instagram
  • Twitter

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:

  1. Place your API key/secret in the config.php file
  2. Launch a PHP server, e.g. php -S 0.0.0.0:8080
  3. 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.

About

Social Network API Abstraction Library

Resources

Stars

7 stars

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages