避免被新创建的机器人锁定在 Twitter API 上的好的指导方针是什么?
What are good guidelines to avoid getting locked by twitter API with a newly created bot?
我已经完成了一个机器人的创建,但在我终于让它工作 1 分钟后就被阻止了。该帐户现已受到限制。
如果我现在尝试 运行 机器人,这就是我在终端上得到的结果:
tweepy.error.TweepError: [{'message': 'Application cannot perform write actions. Contact Twitter Platform Operations through https://help.twitter.com/forms/platform.', 'code': 261}]
我知道 Twitter 可能出于多种原因限制新的机器人。我已提交我的报告以尝试让我的帐户不受限制。
机器人该做什么和不该做什么?
在我原来的机器人中,我每 10 秒回复一次,这太多了吗?我应该设置不同的时间范围吗?
https://help.twitter.com/en/rules-and-policies/twitter-limits
相关部分:
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 include actions from all devices, including web, mobile, phone, API, etc. API requests from all third-party applications are tracked against the hourly API limit. People who use multiple third-party applications with their account will therefore reach the API limit more quickly.
What happens if I hit a limit?
If you do reach a limit, we'll let you know with an error message telling you which limit you've hit. For limits that are time-based (like the Direct Messages, Tweets, changes to account email, and API request limits), you'll be able to try again after the time limit has elapsed.
10 秒太多了。
我已经完成了一个机器人的创建,但在我终于让它工作 1 分钟后就被阻止了。该帐户现已受到限制。
如果我现在尝试 运行 机器人,这就是我在终端上得到的结果:
tweepy.error.TweepError: [{'message': 'Application cannot perform write actions. Contact Twitter Platform Operations through https://help.twitter.com/forms/platform.', 'code': 261}]
我知道 Twitter 可能出于多种原因限制新的机器人。我已提交我的报告以尝试让我的帐户不受限制。
机器人该做什么和不该做什么?
在我原来的机器人中,我每 10 秒回复一次,这太多了吗?我应该设置不同的时间范围吗?
https://help.twitter.com/en/rules-and-policies/twitter-limits
相关部分:
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 include actions from all devices, including web, mobile, phone, API, etc. API requests from all third-party applications are tracked against the hourly API limit. People who use multiple third-party applications with their account will therefore reach the API limit more quickly.
What happens if I hit a limit? If you do reach a limit, we'll let you know with an error message telling you which limit you've hit. For limits that are time-based (like the Direct Messages, Tweets, changes to account email, and API request limits), you'll be able to try again after the time limit has elapsed.
10 秒太多了。