[英]Twitter API V2 - Increase Rate Limit and Get Rate Limit Status
I'm using following Twitter APIs我正在使用以下 Twitter API
The rate limit for these APIs are https://developer.twitter.com/en/docs/twitter-api/rate-limits here.这些 API 的速率限制是https://developer.twitter.com/en/docs/twitter-api/rate-limits 。
Twitter API Rate Limit Image Twitter API 速率限制图
The solutions I needed:我需要的解决方案:
The post limits (Tweets, retweets, Direct Messages etc) are per-user quota.帖子限制(推文、转发、直接消息等)是每个用户的配额。 You can find out more about them from Twitter's help pages .
您可以从Twitter 的帮助页面了解更多关于它们的信息。
The current technical limits for accounts are:
当前帐户的技术限制是:
- Direct Messages (daily): The limit is 1,000 messages sent per day.
直接消息(每日):限制为每天发送 1,000 条消息。
- Tweets: 2,400 per day.
推文:每天 2,400 条。 The daily update limit is further broken down into smaller limits for semi-hourly intervals.
每日更新限制进一步细分为半小时间隔的较小限制。 Retweets are counted as Tweets.
转推算作推文。
These limits are shared across all of the apps a user might use within a day.这些限制在用户可能在一天内使用的所有应用程序中共享。 There is no API endpoint or header that shows what the current quota is - you have to account for this in your code.
没有显示当前配额是多少的 API 端点或 header - 您必须在代码中考虑这一点。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.