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 to count as we filter out deleted Tweets, Tweets by deleted users and Tweets by suspended users as the last action. If, by default, a request doesn't return retweets, those too will be filtered out. To include retweets you must provided include_rts=1 as a query parameter. Hope that helps, Matt On Fri, Jul 23, 2010 at 7:18 AM, John Kalucki <j...@twitter.com> wrote: > 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 <luisfmgoncal...@gmail.com> wrote: > >> Hi, >> Thanks for your replies. >> >> @John: I check the documentation (http://dev.twitter.com/doc/get/ >> statuses/user_timeline<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 >> than' or to a 'exactly'? >> Reading the description I associate it to a 'exactly'... Just that. >> >> I have to find another solution for what I'm trying to do. >> >> Thanks a lot guys, >> >> Luis >> >> On Jul 23, 3:48 pm, John Kalucki <j...@twitter.com> wrote: >> > The count parameter means 'no more than', not 'exactly'. We do >> read-repair >> > on home timeline status_id-based vectors as we gather the statuses. It's >> not >> > practical to fan-out deletes to the materialized home timeline vector. >> In >> > nearly all display cases, displaying 19 or 20 tweets is equivalent. The >> > client is either in a loop, paging through for a since_id, or the user >> is >> > likely to click more anyway. >> > >> > -John Kaluckihttp://twitter.com/jkalucki >> > Infrastructure, Twitter Inc. >> > >> > On Fri, Jul 23, 2010 at 1:18 AM, luisg <luisfmgoncal...@gmail.com> >> wrote: >> > > Hi there... >> > >> > > I'm experience something strange, I think... >> > > If I do a tweet destroy through my application and after that I get >> > > the home_timeline with the property count=20, I'm not getting the 20 >> > > tweets that I should get. I'm getting just 19. >> > > If I do another tweet destroy and execute home_timeline again, I will >> > > get only 18... and so on... >> > >> > > Am I doing something wrong? Is there a way to force to get the 20 >> > > tweets? >> > >> > > Thanks, >> > >> > > Luis >> > > -- Matt Harris Developer Advocate, Twitter http://twitter.com/themattharris