Skip to content

ruudk/twitteroauth

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 | [email protected] | 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

About

The first PHP Library to support OAuth for Twitter's REST API.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%