evolution7/social-api

Social Network API Abstraction Library

v1.0.1 2014-07-21 03:30 UTC

This package is not auto-updated.

Last update: 2024-10-26 12:32:06 UTC


README

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.