推特速率限制
我正在尝试使用此:
https://twitter.com/account/rate_limit_status.xml
检查我是否没有超过 Twitter 上的速率限制。问题是我正在拨打电话,但剩余点击量参数似乎并没有像我拨打的那样减少:
<?xml version="1.0" encoding="UTF-8" ?>
<hash>
<reset-time-in-seconds type="integer">1281858712</reset-time-in-seconds>
<reset-time type="datetime">2010-08-15T07:51:52+00:00</reset-time>
<remaining-hits type="integer">146</remaining-hits>
<hourly-limit type="integer">150</hourly-limit>
</hash>
我只是拨打不需要身份验证的电话,并且我已经在文档中阅读了这一点:
需要身份验证(关于身份验证): true,确定用户的速率限制状态 false,确定请求 IP 的速率限制状态
(https://dev.twitter .com/docs/rate-limiting)
那么我需要在通话中的某个地方设置 false 吗?我不是经过身份验证的用户,所以我唯一的限制是 IP 的当前限制。
I'm trying to use this:
https://twitter.com/account/rate_limit_status.xml
to check that i'm not going over the rate limiting on twitter. Problem is i'm making calls but the remaining-hits param does not seem to be reducing by as much as i'm calling:
<?xml version="1.0" encoding="UTF-8" ?>
<hash>
<reset-time-in-seconds type="integer">1281858712</reset-time-in-seconds>
<reset-time type="datetime">2010-08-15T07:51:52+00:00</reset-time>
<remaining-hits type="integer">146</remaining-hits>
<hourly-limit type="integer">150</hourly-limit>
</hash>
I'm just making calls that don't require authentication and I've read this bit in the documentation:
Requires Authentication (about authentication):
true, to determine a user's rate limit status
false, to determine the requesting IP's rate limit status
(https://dev.twitter.com/docs/rate-limiting)
So do I need to set false somewhere in my call? I'm not an authenticated user so the only limits I have are the current limit on the ip.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
否。如果您不使用身份验证,则自动假定为“false”。
您确定您拨打的电话受到速率限制吗:
No. If you don't use authentication then "false" is supposed automatically.
Are you sure that you are making calls that are rate limited: