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开发者_C百科/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?
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.
精彩评论