Twitter API 1.1 好友/创建速率限制

标签 twitter

我正在将我的应用程序从 Twitter API 版本 1 迁移到 1.1,并且在友谊/创建方面遇到问题。

根据 1.1 文档 ( https://dev.twitter.com/docs/api/1.1/post/friendships/create ) Friendships/create 没有速率限制,但是当我调用 Friendships/create 时,我可以看到速率限制为 15(根据 'x-rate-limit-limit') .

我在这里做错了什么吗?每个时间窗口的速率限制真的是 15 次关注吗?

最佳答案

Ran找到了解决方案:

I use the twitter gem and when you call follow it first makes a call to friends/ids to make sure you are not already following that member and /friends/ids is limited to 15 calls per window.

the solution was to call follow! (with ! ) instead to avoid the check.

从这里:https://dev.twitter.com/discussions/14894

关于Twitter API 1.1 好友/创建速率限制,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14830807/

相关文章:

ios - 推特登录swift 4

video - Twitter - 如何将其他人的推文中的原生视频嵌入到新推文或 DM 中

html - 当显示设置为无时,Twitter 小部件将不会填充

c# - 如何在 Asp.NET 中获取 url 响应值

ios - 提供用于身份验证的默认 Twitter 帐户

python - 推文的地理位置

php - 如何限制 SimpleXML 结果的总数?

iphone - 使用 OAuth+MGTwitterEngine 库从 iPhone 中注销 Twitter

javascript - 使用 twit 和 Node.js 回复推文

android - Twitter 日志记录和不重定向到应用程序以及如何使用回调 URL