Use a count of 10 and trim on your end.

On 7 Dec 2010, at 11:29, L0rdJ wrote:

> Hi Taylor,
> But how can i get for example last 5 user`s tweets (without the
> retweets)?
> 
> On 6 дек, 17:50, Taylor Singletary <taylorsinglet...@twitter.com>
> wrote:
>> Hi L0rdJ,
>> 
>> This is how the Twitter REST API count parameters work -- they are "hopeful"
>> counts -- you won't get more than the count specified but you may get less.
>> This is one reason you see many web-based Twitter clients utilize a "More"
>> button approach rather than paged results. It's best to focus less on the
>> literal count of results that you get back and instead on the content.
>> 
>> TaylorOn Mon, Dec 6, 2010 at 4:37 AM, L0rdJ <dolgushev.ser...@gmail.com> 
>> wrote:
>>> I found a bug in the Twitter API, but i can`t find where i can report
>>> in, so i decided report it to this group, with hope that somebody help
>>> me :)
>> 
>>> Seems like when i`m setting "count" parameter for statuses/
>>> user_timeline API call, but i`m not setting "include_rts" parameter.
>>> Returned statuses are limited including retweets. But retweets aren`t
>>> displayed.
>> 
>>> So if i have
>>> 1. some tweet 1
>>> 2. retweet to some tweet 1
>>> 3. retweet to some tweet 1
>>> 4. some tweet 2
>>> 5. some tweet 3
>>> ....
>> 
>>> and i`m trying to get statuses/user_timeline with count = 3, and
>>> disabled include_rts. I got:
>>> 1. Some tweet 1
>>> Instead of
>>> 1. Some tweet 1
>>> 2. Some tweet 2
>>> 3. Some tweet 3

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk

Reply via email to