Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
The first PHP Library to support OAuth for Twitter's REST API.
PHP
Branch: master
Pull request Compare This branch is 17 commits ahead, 282 commits behind abraham:master.

Merge pull request #4 from nutshellcrm/request-headers

Capture response headers for inspection
latest commit 7f5a94eaa1
@ruudk authored
Failed to load latest commit information.
examples Moved examples into folder
src/TwitterOAuth Capture response headers for inspection
.DS_Store Added composer
DOCUMENTATION Added documentation wih new terminology
LICENSE added MIT license and modified readme
README
composer.json Update composer.json

README

THIS IS AN MODIFIED VERSION OF ABRAHAMS TWITTER OAUTH CLASS

The directories are structured and the class uses PHP5.3 namespaces. 

Api.php has a new function called setToken($oauth_token, $oauth_token_secret) to set the token after initialising

===========

Usage

To install via composer, include:
    
    "ruudk/twitter-oauth": "*"

in your composer.json file.

Then, after including composer's automatically generated autoloader, create a new instance of the twitter API:

    $twitter = new \TwitterOAuth\Api(arguments);

When following the steps in the Documentation file, amend them to use this namespaced instanciation code or TwitterOAuth will not work.

===========

Abraham Williams | abraham@poseurte.ch | http://abrah.am | @abraham

The first PHP library for working with Twitter's OAuth API.

Documentation: http://wiki.github.com/abraham/twitteroauth/documentation 
Source: http://github.com/abraham/twitteroauth
Twitter: http://apiwiki.twitter.com
Something went wrong with that request. Please try again.