Re: [twitter-dev] Twitter api request for a user's timeline w/ count=40 is returning ~20 records, why?

2010-08-30 Thread Taylor Singletary
With the timeline methods, the count you provide is optimistic in that
you'll get up to those number of results if they are available.

In most cases, the results you aren't seeing would be retweets, which aren't
returned in user_timeline without an include_rts=true parameter.

Taylor

On Sat, Aug 28, 2010 at 6:09 PM, Erik Vold erikvv...@gmail.com wrote:

 why does
 http://twitter.com/statuses/user_timeline.xml?screen_name=erikvoldpage=0count=40
 return ~15 results? should it not return 40 results?

 http://dev.twitter.com/doc/get/statuses/user_timeline

 Erik

 --
 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?hl=en


-- 
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?hl=en


Re: [twitter-dev] Twitter api request for a user's timeline w/ count=40 is returning ~20 records, why?

2010-08-30 Thread Matt Harris
In addition, please ensure you are using the correct host for requests
to the API. Instead of http://twitter.com you should be using
http://api.twitter.com

Best,
Matt

On Mon, Aug 30, 2010 at 7:30 AM, Taylor Singletary
taylorsinglet...@twitter.com wrote:
 With the timeline methods, the count you provide is optimistic in that
 you'll get up to those number of results if they are available.
 In most cases, the results you aren't seeing would be retweets, which aren't
 returned in user_timeline without an include_rts=true parameter.
 Taylor

 On Sat, Aug 28, 2010 at 6:09 PM, Erik Vold erikvv...@gmail.com wrote:

 why does
 http://twitter.com/statuses/user_timeline.xml?screen_name=erikvoldpage=0count=40
 return ~15 results? should it not return 40 results?

 http://dev.twitter.com/doc/get/statuses/user_timeline

 Erik

 --
 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?hl=en

 --
 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?hl=en




-- 


Matt Harris
Developer Advocate, Twitter
http://twitter.com/themattharris

-- 
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?hl=en