A More Convenient Zend_Registry | Home | Building RESTful Web Apps with Groovy and Restlet, Part 1: Up and Running

Filed under Lab on June 3, 2008 by Matt Williams

Twitter API Client Released

Here at Arc90, we love Twitter! Okay, okay - maybe not all of us love Twitter...some of us... I mean, well, at least one of us! Anyway, recently in need of Twitter's services for an office side-project, we decided to write our own client that would integrate nicely with our existing PHP libraries.

The default content type for returned data is JSON (we love JSON!), but all of Twitter's supported content types are available (XML, JSON, and in some cases RSS and ATOM).

Sound useful? Head on over to the lab and check it out!

Also...

Our Twitter client was largely inspired by the great web service clients available through the Zend Framework. Zend offers clients for several great web services like del.icio.us and Flickr; but Twitter is conspicuously absent from the list...

While we're not really sure why Zend has (so far) decided not to offer a Twitter client, we may also release a fully Zend-tastic version of the client leveraging Zend_Client_Rest, Zend_Date, etc in the near future. If you develop with Zend Framework and would find this useful, let us know!

Post a Comment Digg Del.icio.us

Trackback Pings (TrackBack URL for this entry)

http://www.arc90.com/cgi-bin/mt4/mt-tb.cgi/160.

Comments

Just can't understand what people especially like about twitter. It's just a lightweight accessible chat application. But I have to admit it’s also a phenomenon back here in the Netherlands.

Posted on June 3, 2008 3:12 PM by Gratis webwinkel

Nice job Matt! Glad to see this up on the lab.

Posted on June 4, 2008 11:47 AM by Ben Sgro aka sk aka mr-sk

Hi,
nice work. I would like to use this nice api.. Everything is well doumented, and it will be fun using it creating nice webapps with the interaction of twitter.
One thing is missing, or am i blind, that is important for me and i can't find a mailing list or something like this:

can you tell me how i can sendMessage to the normal timeline, not as @reply as senMessage() is documented.
The docs says: "Sends a new direct message to the specified user from the authenticating user.", but twitter is more like a one to many messaging system. So most of my posts are just answering the question: "what are you doing?".

How can I send this?
Thanx,
Kris

Posted on October 20, 2008 11:07 AM by Kris

Hi Kris,

I think the method that you're looking for is updateStatus(). That will post a regular staus update to your timeline.

~ Matt

Posted on October 20, 2008 11:46 AM by Matt Williams

Post a Comment:

A More Convenient Zend_Registry | Main | Building RESTful Web Apps with Groovy and Restlet, Part 1: Up and Running