Re: [twitter-dev] since_id only returns ~20 results?

2010-06-09 Thread lebogang mothapo
On 6/2/10, Ellsass cpa...@gmail.com wrote:
 I didn't see this mentioned explicitly in the documentation, but it
 seems that calling statuses/home_timeline?since_id=XYZ only returns
 ~20 statuses.

 I'm developing an app that is intended to be able to list all tweets
 (respecting the limit of 200 statuses, of course). As far as I can
 tell, the correct solution seems to be to find the oldest ID returned
 in that set of 20, then make another call using max_id, and keep
 repeating until status XYZ is returned in the set?

 It seems like it would be a lot more efficient if since_id would
 simply return up to 200 statuses the first time since the call clearly
 indicates I'm looking for all tweets since that ID, but I suppose we
 can't all have everything we want in life ;)

-- 
Sent from my mobile device


[twitter-dev] since_id only returns ~20 results?

2010-06-02 Thread Ellsass
I didn't see this mentioned explicitly in the documentation, but it
seems that calling statuses/home_timeline?since_id=XYZ only returns
~20 statuses.

I'm developing an app that is intended to be able to list all tweets
(respecting the limit of 200 statuses, of course). As far as I can
tell, the correct solution seems to be to find the oldest ID returned
in that set of 20, then make another call using max_id, and keep
repeating until status XYZ is returned in the set?

It seems like it would be a lot more efficient if since_id would
simply return up to 200 statuses the first time since the call clearly
indicates I'm looking for all tweets since that ID, but I suppose we
can't all have everything we want in life ;)