Proxy.lu – the best proxy site

web proxy,free http &socks5 proxy lists,proxy checker online

twitter API proxy in PHP – twip

do you want to surf twitter? twip – a twitter API proxy in PHP may help you.
many people knows than twitter have been blocked by some contry,so lots of user can not open it and use twitter.and now twip can help this people.twip is a api proxy code which write in php.useing twip,you can surf twitter perfectly when you have a php web hostin.

HOWTO setup a twip API proxyGet your OAuth Consumer Key/Secret
You can get your OAuth Consumer Key/Secret at http://twitter.com/apps/new

  • Application Type: Browser
  • Callback URL: You can fill anything here. Twip will handle it properly :-)
  • Default Access type: Read & Write

The other fields is upon to your choice :-)

Step-by-step Guide
Updated for twip-4.0.2-r152

  1. SVN checkout the source code: svn checkout -r152 http://twip.googlecode.com/svn/trunk twip or download twip-4.0.2-r152.tar.gz
  2. edit config-example.php, define OAUTH_KEY/OAUTH_SECRET/BASE_URL. For BASE_URL, if your twip directory can be accessed fromhttp://example.com/twip/, then BASE_URL should be http://example.com/twip/ ( the last slash MATTERS!!! ). If you want to compress the contents using gzip, change the “COMPRESS” to “TRUE”. Rename it to config.php
  3. Edit nginx.conf or lighttpd.conf if you are using nginx or lighttpd as web server for those web servers have to manually set rewrite rules. Rules can be found in rewrite_rules.txt
  4. Go to BASE_URL, you can choose to get API proxy URL in O mode or T mode.

HOWTO setup your clients to use twip

These terms will be mentioned:
If you set up an API proxy at http://example.com/twip4/

  • BASE_URL:http://example.com/twip4/ NOTE:the trailing slash ‘/’
  • RAW_BASE_URL:example.com/twip4 NOTE: without the trailing slash
  • You can get your O mode API proxy URL from twip4′s configuration page, that’s your O_MODE_URL.
ApplicationPlatformO ModeT Mode
Twitter for iPhoneiOSYesNo
TwigeeAndroidYesYes
Twhirlmulti-platform based on Adobe AIRYesNo
Chromed Birdmulti-platform based on Google Chrome ExtensionsYesYes
TwitBird for iPhoneiOSYesNo

Twitter for iPhone
Only O mode is supported.

  • API Root: O_MODE_URL
  • Search API: O_MODE_URL

Your username/password is ignored when using o mode,so you can input anything.

Twigee

Both O mode and T mode is supported in theory, but only T mode is tested.
Get API proxy URL of T mode at BASE_URL.

Twhirl
Only O mode is supported.
Go to BASE_URL and choose O mode, twip will give you an API proxy URL.
Use it when adding l.ca account in twhirl, using username@RAW_BASE_URL/1 as the screen name.
When asked to enter the password,type anything.

Chromed Bird
API URL:BASE_URL/t/1/
OAuth URL:BASE_URL/t/oauth/
signing URL:https://api.twitter.com/1/
OAuth Signing:https://api.twitter.com/oauth/

TwitBird for iPhone
Note: due to the limitation of TwitBird, only O mode is supported and only one user is supported.In setting page -> API proxy:
Twitter Proxy: O_MODE_URL/1/
Twitter Search Proxy: O_MODE_URL

twip download: http://code.google.com/p/twip/downloads/detail?name=twip-4.1-r184.tar.gz

  • Car Hire Alicante says:

    I think you will want to place a twitter button to your website. Just bookmarked the site, although I had to complete this by hand. Just my 2 cents.

    31/03/2011 at 11:12 PM

Your email address will not be published. Required fields are marked *

*


*