Posted on Saturday 28th of March 2009 at 16:49 in Web Development

Working with the Twitter API

Recently I've been working with the Twitter API quite a lot (can't explain why...  for now) and at face value, it's not the easiest thing to deal with.  Their API isn't terribly hard but it will add time to your project while you get to grips with it.

The Twitter API documentation is okay, but again, as with all APIs you'll spend a fair portion of your time interfacing with it.  However, I was recently pointed towards lab.arc90.com's Twitter API client which makes life somewhat easier.

Suddenly it's a case of instantiating the class with your username and password, as such:

$twitter = new Arc90_Service_Twitter('username', 'password');  

Updating your Twitter status using the Arc90 client is a 4-lines-of-code affair, from start to finish.  Which makes life easy, tidy and more importantly quick.  

I thoroughly recommend investigating it if you're doing some development using the Twitter API.  Thanks to Stephen Beattie for finding and referring the client. 

 

Enjoy this article? Why not subscribe to the full RSS feed?

Subscribe to the RSS Feed

Stay up to date with Seopher.com by subscribing to the RSS feed, either in your browser or subscribe via email using the form below

Updates by Email

By subscribing by email you’re also subscribing to the Seopher.com newsletter; a periodical email outlining new reviews, competitions and other subscriber-only content

  • Wordpress Campaign Manager
  • 125x125 banner only $50 pcm
Want to give your product/website exposure?

Paying for a featured review is a great way to give your product, service or website exposure. For as little as $50 you can have a full review on the site forever.

Advertising Bundle! Review + Banner = $70

To kick start the new improved Seopher.com, buy a review and get a 125x125 advert half price. Your banner gets displayed on over 450 pages for a full month.