Tumblr API V2 Error code 429: “Rate Limit Exceeded” You are being rate limited, slow down. Header info?

狂风中的少年 提交于 2019-12-22 11:37:22

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!