开发者

Getting A Specific Twitter Status

开发者 https://www.devze.com 2023-02-12 17:57 出处:网络
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 stat

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消