问题
I tested Tumblr API with PHP, then I try to follow with friends using API and worked successfully, then later I get this error:
Error 429 "Rate Limit Exceeded"
I heard I need to wait 1 hour and limits will gone. Also I see a few information about headers:
x_ratelimit_api_followers_limit
x_ratelimit_api_followers_remaining
x_ratelimit_api_followers_reset
This informations can be in header. What header? Oauth? I don't found that. How can I see this variables? How can I get more information about API follower limitations? Tumblr's API documentation not contain that.
回答1:
Answer provided by Felix Bonkoski:
You can only fetch X many followers per minute with the API. This is represented in the x_ratelimit_api_... headers. These fields in the header inform you what the limit is, how many more calls to the API you can make, and when the limit will expire so that you can start using that API endpoint again. This is not in the documentation, but please see the Tumblr API Discussion Group where there are posts dealing with this issue.
来源:https://stackoverflow.com/questions/24854293/tumblr-api-v2-error-code-429-rate-limit-exceeded-you-are-being-rate-limited