A php twitter proxy to continue using unauthenticated twitter requests after the API will switch to v1.1. Author @jpsarda ( http://twitter.com/jpsarda )
TwitterPx is based on tmhOAuth by @themattharris. You first create a pool of available user tokens. Then you send unauthenticated requests to your server, that forward an authenticated request to the twitter API, using one of the user token in the pool. The more tokens you have in the pool, the more request you can send per hour.
-
Get the TwitterPx package and decompress on your local web server.
-
Create a twitter app on http://dev.twitter.com/
-
Add you consumer key and secret in twitterpx/config.php
-
On your local server, add some twitter users to the pool of available tokens : http://localhost/twitterpx/setup/
-
Test an API request like http://localhost/twitterpx/statuses/user_timeline?screen_name=jpsarda
-
Upload on your server the 3 directories (twitterpx, twitterpool, tmhOAuth) and the .htaccess
-
Test an API request like http://myserver.com/twitterpx/statuses/user_timeline?screen_name=jpsarda