.

Tuesday, June 2, 2009

Twitter URL Tricks and Tips

Had to scour the internet when i was developing my twitter app,
I was trying to write something that didn't use the twitter api and found some of the
urls below helpful,,

Ps,, substitute Oprah for what ever username you want,, er,, yours,, not oprah's

This pull's all of your followers 1000 at a time, hence if you put a ?page=1 then
a ?page=2 at the end, you will get the next 1000 of your users
http://twitter.com/followers/ids/oprah.xml?page=1

you can try these too
http://twitter.com/followers/ids.xml?screen_name=oprah
http://twitter.com/followers/ids.xml?&screen_name=oprah&rpp=5&page=1

ps, i think all of these work with instead of .xml you can put .json at the end and
it will give you the file but you have to use the twitter api and password

This one is simple but useful,, it will pull all the info on a particular person
http://twitter.com/users/show/oprah.xml
or by oprah's user number
http://twitter.com/users/show/19397785.xml

regular stuff,,
http://twitter.com/#replies
http://twitter.com/statuses/friends_timeline.xml


How to programmatic'ly search on twitter,, this is useful if you have a site and want to show some
useful content , lets say your using php,, you can use "php include" with one of these to
pull only marketing info and display it on your site.
ps,, replace HELLO with what ever keyword you want

i show here,, regular, .json and .atom

http://search.twitter.com/search?q=hello&rpp=5
http://search.twitter.com/search.json?q=hello&rpp=50
http://search.twitter.com/search.atom?q=hello&rpp=15&page=2


this will give you post's of a user i think? or what they post to him/her,
http://twitter.com/statuses/friends/oprah.xml

Keep posted, i have another entire file that ill post soon.

No comments:

Post a Comment