Twitter API rate limits for posting updates

|▌冷眼眸甩不掉的悲伤 提交于 2019-11-30 08:31:43

问题


I have an application for sending out say around 100+ tweets every day. I am using OAuth for authentication. The twitter API says that post messages are not rate limited. However I am receiving the following error:

403:The request is understood, but it has been refused. An accompanying error message will explain why. This code is used when requests are being denied due to update limits (http://support.twitter.com/forums/10711/entries/15364). error - User is over daily status update limit. request - /1/statuses/update.json Relevant discussions can be on the Internet at: http://www.google.co.jp/search?q=15bb6564 or http://www.google.co.jp/search?q=010f3e5b TwitterException{exceptionCode=[15bb6564-010f3e5b], statusCode=403, retryAfter=0, rateLimitStatus=null, version=2.1.11}

Does this mean that status update API calls are also rate limited?

Thanks


回答1:


Yes Status updates are rate limited. but 100 per day won't be an issue.

Current Twitter Limits

The current technical limits for accounts are:

  1. Updates: 1,000 per day. The daily update limit is further broken down into smaller limits for semi-hourly intervals. Retweets are counted as updates.

From : http://support.twitter.com/forums/10711/entries/15364




回答2:


Are you using some kind of shared hosting? the twitter API is limited by IP address and if there are other apps on your IP address also using the twitter API then you will be sharing rate limits with them. I ran into this issue with a tiny app on google app engine, despite only making about 10 requests in an hour.




回答3:


The update limit is 1000 per day.But these are divided into intervals in which different amount of tweets are allowed per window. You can follow this thread.

Does this mean that status update API calls are also rate limited?

Yes,but not directly. As "The twitter API says that post messages are not rate limited" is true but not all POST requests are status update calls.



来源:https://stackoverflow.com/questions/5121921/twitter-api-rate-limits-for-posting-updates

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!