You can use the "per_page" parameter for this. I'll update the
documentation. Should probably support "count" as well as an alias.

On Mon, Nov 9, 2009 at 5:15 PM, Ryan Bigg <radarliste...@gmail.com> wrote:
>
> Specifying different count on the request appears to send back the
> same file:
>
> ryanb...@fp:mocra-web (master)$ wget "http://api.twitter.com/1/drnic/
> lists/mocra/statuses.json?callback=updateTwitter()&count=100"
> --2009-11-10 11:13:41--  
> http://api.twitter.com/1/drnic/lists/mocra/statuses.json?callback=updateTwitter()&count=100
> Resolving api.twitter.com... 128.121.146.109
> Connecting to api.twitter.com|128.121.146.109|:80... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 24800 (24K) [application/json]
> Saving to: `statuses.json?callback=updateTwitter()&count=100'
>
> 100%
> [======================================================================================================================================>]
> 24,800      --.-K/s   in 0.02s
>
> 2009-11-10 11:13:42 (1.56 MB/s) - `statuses.json?callback=updateTwitter
> ()&count=100' saved [24800/24800]
>
> ryanb...@fp:mocra-web (master)$ wget "http://api.twitter.com/1/drnic/
> lists/mocra/statuses.json?callback=updateTwitter()&count=5"
> --2009-11-10 11:13:51--  
> http://api.twitter.com/1/drnic/lists/mocra/statuses.json?callback=updateTwitter()&count=5
> Resolving api.twitter.com... 128.121.146.109
> Connecting to api.twitter.com|128.121.146.109|:80... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 24800 (24K) [application/json]
> Saving to: `statuses.json?callback=updateTwitter()&count=5'
>
> 100%
> [======================================================================================================================================>]
> 24,800      --.-K/s   in 0.02s
>
> 2009-11-10 11:13:51 (1.37 MB/s) - `statuses.json?callback=updateTwitter
> ()&count=5' saved [24800/24800]
>
> ryanb...@fp:mocra-web (master)$
>
> Even though the API here says you can specify one:
> http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-GET-list-statuses?SearchFor=%3AList&sp=5
>
> What gives?
>



-- 
Marcel Molina
Twitter Platform Team
http://twitter.com/noradio

Reply via email to