Twitter API Limitations: Anonymous and Authenticated

Here http://developer.twitter.com/pages/rate-limiting we can read that:

  • Anonymous calls are based on the host IP and 150 requests per hour are allowed. This classification includes unauthenticated requests (for example, RSS feeds) and authenticated requests for resources that do not require authentication.
  • For OAuth calls, 350 requests per hour are allowed.

And as we can see at http://dev.twitter.com/doc/get/users/show - it does not require authentication.

So, I was expecting my local host to reach the endpoint access limit users/show/zerkmsafter 150 requests. But I was able to complete all 350 requests.

Where is the truth?

+3
source share
3

Twitter, 350 , , , .

, , 350 API, . , 150 .

Edit: , . , , , . .

, / (, ), HTTP X-RateLimit-Limit: 20000, X-RateLimit-Remaining: 19999. /, X-RateLimit-Limit: 150, X-RateLimit-Limit: 149.

+3

. , API Twitter . , , .

+1

I think this is due to http://dev.twitter.com/doc/get/statuses/followers and the old "base auth" because it starts with "depending on the authorization method" (even though it currently exists only one method?). It does not require authentication, but in some cases it does.

To get developers to switch to OAuth, they increased this speed limit when an API call is made using OAuth; which says the second statement.

+1
source

Source: https://habr.com/ru/post/1788457/


All Articles