Hirvesh
Hirvesh

Reputation: 7982

Getting A Specific Twitter Status

I've been trying to get the contents of a specific status using the status url e.g http://twitter.com/#!/jquery/status/36102693709680640 and also get the username associated with the status. In this case, @jquery

Is there a way to do this in php and/or jquery?

Upvotes: 1

Views: 115

Answers (1)

Chuck Callebs
Chuck Callebs

Reputation: 16441

The best way is to use the Twitter API. You must perform an HTTP request on the correct URI and the data will be returned in XML format. You'll then parse the XML for the needed data.

The twitter username is under thescreen_name tag.

Upvotes: 2

Related Questions