简体   繁体   中英

Twitter API V2 - Increase Rate Limit and Get Rate Limit Status

I'm using following Twitter APIs

  1. https://developer.twitter.com/en/docs/twitter-api/tweets/manage-tweets/api-reference/post-tweets
  2. https://developer.twitter.com/en/docs/twitter-api/tweets/retweets/api-reference/post-users-id-retweets
  3. https://developer.twitter.com/en/docs/twitter-api/users/follows/api-reference/post-users-source_user_id-following

The rate limit for these APIs are https://developer.twitter.com/en/docs/twitter-api/rate-limits here.

Twitter API Rate Limit Image

The solutions I needed:

  1. How can I increase the APIs rate limit?
  2. I'm using https://developer.twitter.com/en/docs/twitter-api/v1/developer-utilities/rate-limit-status/api-reference/get-application-rate_limit_status API to get the APIs usage status, but it's returning same value in limit and remaining field. How can I get the exact usage details of APIs?
  3. How I can get the daily API APP limits? The API seems to be returning 15 minutes limits, but I need to know how much app limit quota is remaining.

The post limits (Tweets, retweets, Direct Messages etc) are per-user quota. You can find out more about them from Twitter's help pages .

The current technical limits for accounts are:

  • Direct Messages (daily): The limit is 1,000 messages sent per day.
  • Tweets: 2,400 per day. 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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM