It's also possible, that some intermediate pages return empty result set. Try this, http://twitter.com/statuses/followers.json?id=billcrosby&page=124
This profile has 44K followers and some of the intermediate pages return empty result sets. Not sure why, but my obvious guess is that all the followers in this page are suspended. So, empty result set doesn't mean that you are done with the traversal. I've modified my scripts to crawl N number of pages, where N is (number of followers/100). Total number of followers can be retrieved by users/show - Karthik On Jul 6, 11:31 pm, Doug Williams <d...@twitter.com> wrote: > Duane,Yes, you will get an empty result set if you step off the end: > > doug-williamss-macbook-pro:~ igudo$ curl -u dougw:PASSWORD > "http://twitter.com/statuses/followers.xml?count=100&page=43" | grep > "</user>" | wc -l > 100 > doug-williamss-macbook-pro:~ igudo$ curl -u dougw:PASSWORD > "http://twitter.com/statuses/followers.xml?count=100&page=44" | grep > "</user>" | wc -l > 17 > doug-williamss-macbook-pro:~ igudo$ curl -u dougw:PASSWORD > "http://twitter.com/statuses/followers.xml?count=100&page=45" | grep > "</user>" | wc -l > 0 > > Thanks, > Doug > > -- > Do you follow me?http://twitter.com/dougw > > On Mon, Jul 6, 2009 at 10:32 AM, Duane Roelands > <duane.roela...@gmail.com>wrote: > > > > > > > Do you ever get an empty response set? I was experimenting with the > > pagination and I found that if you request page 20 (for example) for > > someone who only has one page of friends, you simply get the page 1 > > response set. > > > On Jul 6, 1:09 pm, Doug Williams <d...@twitter.com> wrote: > > > You should either page through statuses/friends until you get an empty > > > response set or use statuses/show to get the number of friends expected > > and > > > intelligently page to the end of the list. > > > > Thanks, > > > Doug