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?




