Possible Duplicate:
PHP Twitter API – How to pull in multiple users tweets?
Is there a way to use some simple http request, like the following:
http://api.twitter.com/1/statuses/user_timeline.xml?screen_name=badreligion
to get multiple user’s timelines in a single request? Something like (pseudocode):
http://api.twitter.com/1/statuses/user_timeline.xml?screen_name[]=badreligion,testa,another
I’ve looked through their api a bit, but with little luck.
EDIT: If they could be merged and sorted by time, that’d be awesome. As it is now, I use a loop to iterate over the feeds I want, then combine them, sort the structure, etc, and it is just so messy.
At this current time, I don’t believe that twitter supplies an API function that allows you to get multiple user time lines in a single request.
If you are concerned about the amount of time it takes to loop through the users, you could request the time lines asynchronously so that you can be getting several user’s timelines at the same time. You can implement a background thread for each request or use HttpWebRequest.BeginGetResponse function.