[twitter-dev] How to fetch all followers of a random user of twitter?

2010-11-23 Thread jaojao
Hi, I have written a php to fetch followers of a given username of twitter by using twitter API. But the result is limited by the number of followers. For example, there are only 100 followers of BBCWorld listed in result, instead of 367,480. What is the solution to overcome this limitation? my

Re: [twitter-dev] How to fetch all followers of a random user of twitter?

2010-11-23 Thread Matt Harris
You can get the list of all followers using the API request: https://api.twitter.com/1/followers/ids.json?cursor=-1 That request will return up to 5000 follower IDs in one request. You can then look up details of those users using the /1/users/lookup method. More information on these methods

Re: [twitter-dev] How to fetch all followers of a random user of twitter?

2010-11-23 Thread Edward Hotchkiss
just make sure to check for next_cursor_str to grab the next page if the user has more than 5000. note that next_cursor_str does not ever return null On Nov 23, 2010, at 1:17 PM, Matt Harris wrote: You can get the list of all followers using the API request: