Why does
http://twitter.com/statuses/user_timeline.xml?screen_name=erikvold&page=0&count=40
return approximately 15 results?
Should it not return 40 results?
Why does
http://twitter.com/statuses/user_timeline.xml?screen_name=erikvold&page=0&count=40
return approximately 15 results?
Should it not return 40 results?
Best Answer
(This answer is being added nearly 3 years later, mainly for the benefit of new API 1.1 users arriving via Google.)
As well as the answers you've already had, the
count
parameter is a maximum limit, not a "please send mecount
many".The
count
parameter is best described in the documentation for GET statuses/user_timeline:Whilst some of that documentation is only relevant to the specific method,
count
appears to behave in that manner across the Twitter API — it won't reliably given you as many ascount
results from your method call, but it will reliably give you no more thancount
results.