公共 Twitter RSS 源是否有访问限制?
RSS 源链接示例:http://twitter.com/statuses/user_timeline/twitter.rss
有谁知道 Twitter 是否限制对公共 RSS 提要的调用?这不是使用 API,而是对 URL 的简单调用。
我找不到任何官方的(甚至是推测的)。我知道 API 在 y 分钟内有 x 个请求的访问限制。我想知道公共 RSS 提要是否遵循类似的模式。我在移动应用程序中看到的行为让我认为情况可能如此。
设备 1 收到空响应,而设备 2 仍获取相同源的更新。在我的电脑上运行模拟器也看到过它有一段时间了。模拟器停止获取更新,然后我无法在运行模拟器的同一台计算机上的网络浏览器中提取提要。我怀疑 Twitter 正在限制设备对 RSS 提要的访问。我认为这是因为在前面的示例中,所有 RSS 提要都无法从 Web 浏览器访问,而 Twitter 站点在同一 Web 浏览器中正常运行。
每 10 分钟就会查询一次 RSS URL。
任何见解都值得赞赏。
Example RSS feed link: http://twitter.com/statuses/user_timeline/twitter.rss
Does anyone know if Twitter limits calls to a public RSS feed? This is not using an API but a simple call to a URL.
I am unable to find anything official (or even speculative). I know the API has access limits of x requests within y minutes. I am wondering if the public RSS feeds follow a similar pattern. I am seeing behavior in a mobile app that makes me think that this may be the case.
Device 1 receives an empty response while device 2 still gets updates for identical feed. Have also seen it on from my computer running a simulator for a while. Simulator stopped getting updates, then I couldn't pull up the feed in a web browser on same machine that was running the simulator. I am suspicious that Twitter is limiting RSS feed access by device. I think this because in the previous example, all RSS feeds were inaccessible form the web browser while the Twitter site was functioning properly in the same web browser.
The RSS URL is being queried every 10 minutes.
Any insight is appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
未经身份验证(仅限 OAuth)的请求率为每小时 150 个。
OAuth 请求率为每小时 350 个。
请求限制率是针对每个 IP 地址的,因此我认为 Twitter 不会每 10 分钟拒绝一个请求。
您提到的方法是公开的,但唯一没有速率限制的请求是搜索 API 的请求(与“实时”相比,它有一点延迟)。无论如何,我建议您阅读: http://dev.twitter.com/pages/rate-limiting< /a> 和 http://dev.twitter.com/pages/rate_limiting_faq
Non authenticated (OAuth only) requests rate is 150 per hour.
OAuth requests rate is 350 per hour.
Requests limit rate is per IP address, so I don't think Twitter will deny the request with ONE request every 10 minutes.
The method you mention is public, but the only requests that doesn't have the rate limit are the ones of the search API (which has a little delay versus the 'real time'). Anyway I suggest you to read: http://dev.twitter.com/pages/rate-limiting and http://dev.twitter.com/pages/rate_limiting_faq
Twitter 的网站是其 API 的客户端,因此我猜测他们的 RSS 提要也是 Twitter API 的客户端。有关详细信息,请参阅 Twitter 工程站点上的此页面有关于此,另请参阅 Twitter 速率限制常见问题解答,了解有关速率限制的信息。
Twitter's web site is a client of their API, so I'm guessing their RSS feeds are also clients of the Twitter API as well. See this page at the Twitter engineering site for more information about this, and also see the Twitter Rate Limiting FAQ for information about rate limiting.