Re: [twitter-dev] Rate Limit problem even with 20k calls?

2011-03-09 Thread Matt Harris
Hey Hugo,

The rate limit you refer to is for the REST API only.
The Search API, which it looks like your using, has it's own rate limiting
system external to the REST API.

Best,
@themattharris
Developer Advocate, Twitter
http://twitter.com/themattharris


On Wed, Mar 9, 2011 at 2:38 PM, Hugo W  wrote:

> Hey guys,
>
> Does Twitter have changed how limit calls are applied on the API?
>
> I have 20k calls per hour, but when i do a simple search call, i get
> { ["error"]=> string(46) "You have been rate limited. Enhance your
> calm." }, and yes, i still get 10k calls left to use.
>
> Any clues? Is this any king of bug?
>
> Ty
>
> --
> 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


Re: [twitter-dev] Rate Limit Problem

2010-02-22 Thread Scott Wilcox
Hi,

Are you sure thats not the user you're requesting being suspended rather that 
you?

Have you checked your HTTP response to see how many API calls you have left?

Scott.

On 22 Feb 2010, at 13:23, jtrigsby wrote:

> Greetings gang,
> 
> I'm running into a problem that I suspect is rate limit related.
> 
> I have an hourly job scheduled to fetch details of my followers.
> 
> The first call checks the rate_limit and calculates the max number of
> getUser calls to make this hour. For example, if my remaining calls is
> 149, it will make 49 calls.
> 
> After about 15 calls each time, I get the following message:
> 
> Uncaught exception 'TwitterException' with message 'User has been
> suspended.'
> 
> ( I get the uncaught exception part) but any thoughts on what's going
> on here?
> 
> Thanks in advance.
> 



smime.p7s
Description: S/MIME cryptographic signature