[twitter-dev] Confused about rate limits

2011-04-11 Thread impeto
Hey guys,

maybe this question has been asked before, but I just joined the
group. I just ran into a little problem that threw me off. I'm
developing a website that uses the REST API extensively. The
documentation says that anonymous requests get limited to 150 requests/
hour/IP and authenticated requests get limited to 350 requests/hour/
user. I did the anonymous request to account/rate_limit_status and I
got 150; and then I authenticated, verified the credentials and
queried account/rate_limit_status again. Got the same result. Why is
that? When you are authenticated, aren't you supposed to get 350 back
from account/rate_limit_status?

Thanks in advance.

Alin

-- 
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


Re: [twitter-dev] Confused about rate limits

2011-04-11 Thread Arnaud Meunier
Hey Alin,

What do you mean by *I authenticated, verified the credentials and **
queried*? In this context (API call) authenticating means signing your
request using OAuth. Signing-in with your account on twitter.com is a
completely different thing and has no effect on your API requests.

Arnaud / @rno http://twitter.com/rno



On Mon, Apr 11, 2011 at 12:48 PM, impeto impet...@gmail.com wrote:

 Hey guys,

 maybe this question has been asked before, but I just joined the
 group. I just ran into a little problem that threw me off. I'm
 developing a website that uses the REST API extensively. The
 documentation says that anonymous requests get limited to 150 requests/
 hour/IP and authenticated requests get limited to 350 requests/hour/
 user. I did the anonymous request to account/rate_limit_status and I
 got 150; and then I authenticated, verified the credentials and
 queried account/rate_limit_status again. Got the same result. Why is
 that? When you are authenticated, aren't you supposed to get 350 back
 from account/rate_limit_status?

 Thanks in advance.

 Alin

 --
 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


-- 
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