Re: [twitter-dev] Re: Home_timeline after tweet destroy

2010-07-23 Thread Matt Harris
Thanks for highlighting that this isn't clear. We'll get onto clarifying how count works and update the docs as soon as possible. In the meantime this is how count works: The count parameter tells the API request the maximum number of Tweets to return. The number of Tweets may not be exactly equal

Re: [twitter-dev] Re: Home_timeline after tweet destroy

2010-07-23 Thread John Kalucki
If you want 20, request say 24 and discard the excess? Not an expert on the API at all, -John On Fri, Jul 23, 2010 at 7:11 AM, luisg wrote: > Hi, > Thanks for your replies. > > @John: I check the documentation (http://dev.twitter.com/doc/get/ > statuses/user_timeline), and there says: > > Coun

[twitter-dev] Re: Home_timeline after tweet destroy

2010-07-23 Thread luisg
Hi, Thanks for your replies. @John: I check the documentation (http://dev.twitter.com/doc/get/ statuses/user_timeline), and there says: Count 'Specifies the number of records to retrieve. Must be less than or equal to 200. ' Tell me, f you read this, you associate the Cout option to a 'no more t

Re: [twitter-dev] Re: Home_timeline after tweet destroy

2010-07-23 Thread Pascal Jürgens
Yes. You can't trust anything on twitter. Hope for good, valid results, prepare for anything else. Pascal On 23.Jul2010, at 15:03, luisg wrote: > This means that the count property is not something that you can > trust, right? > > Luis

[twitter-dev] Re: Home_timeline after tweet destroy

2010-07-23 Thread luisg
This means that the count property is not something that you can trust, right? Luis On Jul 23, 11:40 am, luisg wrote: > Hi Pascal, > > Thanks for your reply. > What you mean with cursors? > > I have a way to solve this problem: > > 1- get the home_timeline > 2- count the number of tweets got fro

Re: [twitter-dev] Re: Home_timeline after tweet destroy

2010-07-23 Thread Pascal Jürgens
Hi Luis, yes, that's what I mean. You can either get the second page, or just request some more, as in: > http://api.twitter.com/1/statuses/home_timeline.xml?count=25 Pascal On 23.Jul2010, at 11:40, luisg wrote: > Hi Pascal, > > Thanks for your reply. > What you mean with cursors? > > I ha

[twitter-dev] Re: Home_timeline after tweet destroy

2010-07-23 Thread luisg
Hi Pascal, Thanks for your reply. What you mean with cursors? I have a way to solve this problem: 1- get the home_timeline 2- count the number of tweets got from (1) and if length < 20 I do another home_timeline call with page=2 I think this might work. The problem is, I need to do 2 call to Tw