Adam,
There is no way of explicitly knowing or determining how many pages
are available. You programmatically have to walk off the end of the
timeline which is when you know you've paged out :)

Doug Williams
Twitter API Support

On Mar 10, 4:43 pm, Adam <coolbeansdud...@gmail.com> wrote:
> This is true ... hence me asking.  I can normally pull in upwards of
> 800 records ... just depends on the account.
>
> Another question.  Is there any way to know how many pages there are
> once you request the feed?  For example.  If I call this:
>
> http://twitter.com/statuses/friends_timeline.rss?page=40or if I call
> this
> I can still get the 800 records or so. I am guessing I can do this
> because the account that I am using has about 4,000+ followers and so
> that number is extremely 
> high!http://twitter.com/statuses/followers.xml?page=20
> I know I can find this out by just seeing how many followers the
> person really does have then dividing it by 100.
>
> Any ideas?
>
> On Mar 7, 11:18 am, Cameron Kaiser <spec...@floodgap.com> wrote:
>
> > > Is there a max number of records we can pull from our friend feeds via
> > > the API?
>
> > "Clients may request up to 3,200 statuses via the page and count 
> > parameters."
> > --http://apiwiki.twitter.com/REST+API+Documentation
>
> > The number you get back is not guaranteed.
>
> > > Am I going to get all of those 10,000 records?  I tried it and I got
> > > 820 records.
>
> > I'm surprised you got that many back; the official API docs state your
> > limit for count is 200 per request.
>
> > --
> > ------------------------------------ 
> > personal:http://www.cameronkaiser.com/--
> >   Cameron Kaiser * Floodgap Systems *www.floodgap.com*ckai...@floodgap.com
> > -- The reason is for fun, the most practical of all reasons. -- Jerome H. 
> > Fine

Reply via email to