To get Twitter tweets using php
syntax
curl_init(http://twitter.com/statuses/user_timeline/[user_name].xml)
eg: http://twitter.com/statuses/user_timeline/gmsundar.xml
or
curl_init(http://twitter.com/statuses/user_timeline/[user_id].rss)
eg: http://twitter.com/statuses/user_timeline/5794542.rss
Parse the xml and get the data
we can use the same method in any language
No comments:
Post a Comment