forked from abraham/twitteroauth
-
Notifications
You must be signed in to change notification settings - Fork 13
/
README
31 lines (17 loc) · 966 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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