The API removes suspended accounts lazily at read time which is why you may receive incomplete pages (less users than the count parameter specifies). We are still working to report correct follower numbers in a timely matter which was the reason for last night's maintenance work (see http://status.twitter.com).
Thanks, Doug On Fri, Jul 24, 2009 at 11:31 AM, Karthik Murugan<[email protected]> wrote: > yes, each page request counts against the API limit > > On Fri, Jul 24, 2009 at 10:25 PM, Joseph <[email protected]> wrote: >> >> Just as aside, does anyone know if each call to a new page counts >> against the API limit? >> >> On Jul 24, 8:08 am, "[email protected]" <[email protected]> wrote: >> > I'm experiencing the same issue with implu. With 14,408 follows, I >> > should go up to >> > page 145. However, the last page of data is 101 and 102 onwards >> > returns nothing. >> > >> > http://twitter.com/statuses/friends/implu.xml?page=102 >> > >> > The following call does seem to return all the friends/ids however. >> > >> > http://twitter.com/friends/ids/implu.xml >> > >> > Any thoughts? >> > >> > On Jul 10, 10:47 am, Karthik Murugan <[email protected]> wrote: >> > >> > > 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 <[email protected]> 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 >> > > > <[email protected]>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 <[email protected]> wrote: >> > > > > > You should either page throughstatuses/friendsuntil 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 >> > >> > >> > >
