[twitter-dev] Re: friends_timeline.xml?count= not working? (JSON is)

2009-03-06 Thread Matt Sanford

Hi there,

That looks like a bug, please open a Google Code issue (http://code.google.com/p/twitter-api/issues/entry 
) and we'll take a look.


— Matt

On Mar 6, 2009, at 01:05 AM, TjL wrote:



is 'count' not working for friends timeline if you use XML?

I read this:

http://apiwiki.twitter.com/REST+API+Documentation#friendstimeline

URL: http://twitter.com/statuses/friends_timeline.format
Formats: xml, json, rss, atom
Method(s): GET
API Limit: 1 per request
Parameters:
{{edit}}
count.  Optional.  Specifies the number of statuses to retrieve. May
not be greater than 200.  Ex:
http://twitter.com/statuses/friends_timeline.xml?count=5

and did this:

curl -s --netrc
'http://twitter.com/statuses/friends_timeline.xml?count=50' 
/tmp/EVERYTHING.xml

and got 20, not 50.

curl -s --netrc
'http://twitter.com/statuses/friends_timeline.json?count=50' 
/tmp/EVERYTHING.json

seemed to work, up to count=200




[twitter-dev] Re: friends_timeline.xml?count= not working? (JSON is)

2009-03-06 Thread TjL
I'm getting weird results. Sometimes I'm getting 'count' honored, and  
sometimes getting 20 regardless of what I ask for.


Still checking to make sure it's not pilot error before I open a bug  
report.


Tj

On Mar 6, 2009, at 10:10 AM, Matt Sanford m...@twitter.com wrote:


Hi there,

That looks like a bug, please open a Google Code issue (http://code.google.com/p/twitter-api/issues/entry 
) and we'll take a look.


— Matt

On Mar 6, 2009, at 01:05 AM, TjL wrote:



is 'count' not working for friends timeline if you use XML?

I read this:

http://apiwiki.twitter.com/REST+API+Documentation#friendstimeline

URL: http://twitter.com/statuses/friends_timeline.format
Formats: xml, json, rss, atom
Method(s): GET
API Limit: 1 per request
Parameters:
{{edit}}
count.  Optional.  Specifies the number of statuses to retrieve. May
not be greater than 200.  Ex:
http://twitter.com/statuses/friends_timeline.xml?count=5

and did this:

curl -s --netrc
'http://twitter.com/statuses/friends_timeline.xml?count=50' 
/tmp/EVERYTHING.xml

and got 20, not 50.

curl -s --netrc
'http://twitter.com/statuses/friends_timeline.json?count=50' 
/tmp/EVERYTHING.json

seemed to work, up to count=200




[twitter-dev] Re: friends_timeline.xml?count= not working? (JSON is)

2009-03-06 Thread TjL

BAH! It was indeed pilot error. Sorry for the noise.

That's what I get for coding at 4am.

TjL

On Fri, Mar 6, 2009 at 10:19 AM, TjL luo...@gmail.com wrote:
 I'm getting weird results. Sometimes I'm getting 'count' honored, and
 sometimes getting 20 regardless of what I ask for.

 Still checking to make sure it's not pilot error before I open a bug
 report.
 Tj
 On Mar 6, 2009, at 10:10 AM, Matt Sanford m...@twitter.com wrote:

 Hi there,
     That looks like a bug, please open a Google Code issue
 (http://code.google.com/p/twitter-api/issues/entry) and we'll take a look.
 — Matt
 On Mar 6, 2009, at 01:05 AM, TjL wrote:

 is 'count' not working for friends timeline if you use XML?

 I read this:

 http://apiwiki.twitter.com/REST+API+Documentation#friendstimeline

 URL: http://twitter.com/statuses/friends_timeline.format
 Formats: xml, json, rss, atom
 Method(s): GET
 API Limit: 1 per request
 Parameters:
 {{edit}}
 count.  Optional.  Specifies the number of statuses to retrieve. May
 not be greater than 200.  Ex:
 http://twitter.com/statuses/friends_timeline.xml?count=5

 and did this:

 curl -s --netrc
 'http://twitter.com/statuses/friends_timeline.xml?count=50' 
 /tmp/EVERYTHING.xml

 and got 20, not 50.

 curl -s --netrc
 'http://twitter.com/statuses/friends_timeline.json?count=50' 
 /tmp/EVERYTHING.json

 seemed to work, up to count=200