Sending and receiving Tweets from Twitter using the Twitter API
by oneafrikan on February 18, 2009
I’m looking at proof of concepts for integrating Twitter for MyHeritage users, so doing some reading and hacking (can you call it that these days?). Note this isn’t exhaustive or a rating, just looking for something specific.
My top rated script / code for sending to Twitter is this one:
_ Twitter: send message from a PHP page using Twitter API
If you like Twitter, and you’re looking around, here’s some free research that might help you along:
General:
http://www.webmonkey.com/tutorial/Get_Started_With_the_Twitter_API :
Like the service itself, the Twitter API is simple and easy to use. The only thing to keep in mind is that Twitter limits you to 70 requests per 60 sixty minute interval, so remember to cache or otherwise store your results. Otherwise, you may find yourself banned.
Can grab updates via the RSS feedm or the API. RSS feed is delayed due to caching, API is current, but can run into overuse problems.
=================================================
Links to code:
http://twitter.com/badges
http://twitter.com/widgets/html_widget
http://apiwiki.twitter.com/
http://apiwiki.twitter.com/Libraries#PHP
http://twitter.pbwiki.com/
http://twitter.pbwiki.com/Scripts
=================================================
Get Twitter updates:
http://twitter.com/widgets/html_widget
easy peasy implementation.
easiest out of the box implementation, can be customised with css
TwitBlog: Syndicating Twitter to My Blog
http://www.kadavy.net/blog/posts/twitblog-syndicating-twitter-to-my-blog/
needs magpie rss / rss parsing
works well, can be customised
=================================================
Send Twitter updates:
command line:
curl -u username:password -d status=”twittering from curl” http://twitter.com/statuses/update.xml
php-twitter:
http://code.google.com/p/php-twitter/w/list
http://code.google.com/p/php-twitter/wiki/ExampleCode
works but needs hacking
Posting to Twitter using PHP
http://morethanseven.net/2007/01/20/posting-to-twitter-using-php/
works nicely
similiar: http://phpfashion.com/twitter-for-php
Twitter: send message from a PHP page using Twitter API
http://woork.blogspot.com/2007/10/twitter-send-message-from-php-page.html
used improved script:
http://www.aimclear.com/code/twitter/twitterSetStatus.zip
http://www.aimclear.com/code/twitter/twitter.txt
made changes according to:
http://woork.blogspot.com/2007/10/twitter-send-message-from-php-page.html#comment-6242557261423855168
is fast, works well, has neat UI already – best so far
=================================================
Various or not what we need:
Twitter tools for wordpress / Twitter Tools 1.0
http://alexking.org/blog/2007/05/07/twitter-tools-10
Twitter2HTML is a free script that helps you easily add your latest tweets to your website
http://www.twitter2html.com/
Fetch twitter updates via PHP
http://blog.amanjain.com/2009/01/fetch-twitter-updates-via-php/
Drupal Twitter module
http://drupal.org/project/twitter
– code sample
Twitter using jQuery
http://www.reynoldsftw.com/2009/02/using-jquery-php-ajax-with-the-twitter-api/
– sample only retrieves data from twitter api
How to Create an RSS-Enabled, Micro-Blog with Twitter
http://thinkvitamin.com/features/how-to-create-an-rss-enabled-micro-blog-with-twitter/
Stammy Script: RSS to Twitter using PHP
http://paulstamatiou.com/2007/01/26/stammy-script-rss-to-twitter-using-php
Updating your Twitter status from PHP
http://www.modaco.com/content/the-lounge/250376/updating-your-twitter-status-from-php/
Leave your comment