ruudk / twitter-oauth
此包已废弃,不再维护。没有建议的替代包。
此包的最新版本(v1.0.0)没有可用的许可证信息。
abraham/twitteroauth的PHP 5.3版本
v1.0.0
2012-08-07 14:11 UTC
Requires
- php: >=5.3.0
This package is auto-updated.
Last update: 2022-02-01 12:21:13 UTC
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