简体   繁体   English

有什么办法可以避免我们的应用被Twitter阻止

[英]Is there any Way to Not Get our App Blocked by Twitter

I have coded a Fine bot which Tweets every 150 seconds time.sleep(150) . 我编写了一个Fine机器人,每150秒time.sleep(150)鸣叫一次。 I have made a APP from twitter with Read / Write Permissions . 我从Twitter制作了一个具有读/写权限的APP。 But after 30 Tweets, Twitter Blocks the Application. 但是在30条推文之后,Twitter阻止了该应用程序。 So is there any way to Bypass it. 所以有什么办法可以绕过它。 ? Or has someone ever Tried bots in Twitter. 或曾经有人在Twitter中尝试过机器人。 Their are some grammar Bots, RT's Bot in twitter which has almost 110k Tweets and they tweet every 30 seconds .. How do they bypass the Frame Limit Protection 他们是一些语法Bot,即RT的twitter中的Bot,具有近110k鸣叫,并且每30秒鸣叫一次..如何绕过帧限制保护

Specific Error Restricted from performing write actions and Code Stops. 特定错误Restricted from performing write actions和代码停止。

The docs at least don't specify the rate limit rules, only that there's one. 至少文档没有指定速率限制规则,只是有一个。 But it does state that you can not have duplicate texts. 但是它确实指出您不能有重复的文本。 Is that the case possibly? 可能是这样吗? What HTTP Error are you receiving? 您收到什么HTTP错误? Since they don't explicitely post the rules that apply to the rate limit, I'd suppose they might have internal algorithms to tell if it's bot-like behaviour, which I'm sure they do not want to allow. 由于他们没有明确发布适用于速率限制的规则,因此我想他们可能具有内部算法来判断是否属于机器人行为,我确定他们不想这样做。 Especially if you set up a new app, regulations might be more strict. 特别是如果您设置了新应用,则法规可能会更加严格。

Edit: 编辑:

If you're completely certain that you're not firing up too many requests at once (eg check with fiddler to make sure), then twitter suggests to get in touch and check the email address of the associated account for any mail from the operations team in order to resolve possible misinterpretations. 如果您完全确定自己不会一次发出太多请求(例如,与小提琴手确认),那么twitter建议保持联系并检查关联帐户的电子邮件地址,以获取操作中的任何邮件团队以解决可能的误解。

This also might be useful: API developers: abuse prevention and security 这可能也很有用: API开发人员:滥用预防和安全性

Your bot seems to be banned, their algorithms probably flaged your posting as similar to spam accounts. 您的漫游器似乎已被禁止,其算法可能会将您的帖子标记为类似于垃圾邮件帐户。

You should contact Twitter and explain the situation, using the following page: Twitter API Policy Support , give them the details of why they should allow your bot to act as you wish. 您应该使用以下页面与Twitter联系并解释这种情况: Twitter API Policy Support ,向他们详细说明为什么他们应允许您的机器人按照您的意愿行事。

I faced the exact same problem with my twitter bot. 我的twitter bot遇到了完全相同的问题。 I basically made a bot to auto-reply to a specific user and ran that script on cron of 1 minute. 我基本上制作了一个自动回复特定用户的漫游器,并在1分钟的cron上运行了该脚本。 Got blocked even though my replies weren't spam but AI generated replies from https://qnamaker.ai/ My script is a bit heavy so it is not feasible for me to keep it running 24*7 as it'll create overhead on server system. 即使我的回复不是垃圾邮件也被阻止了,但是AI从https://qnamaker.ai/生成了回复,我的脚本有点沉重,因此我无法使其保持24 * 7的运行状态,因为这样做会增加系统开销服务器系统。 But since you keep running it(picked that up because of the delay function), one thing you can do is keep changing the time interval in which your bot makes a tweet. 但是由于您一直在运行它(由于延迟功能而选择运行),因此您可以做的一件事就是不断更改机器人发出鸣叫的时间间隔。 Make it random so that it doesn't look scheduled and bot-like. 使其随机,以使其看起来不像计划的和机器人般的。 You can use the random class in python for that. 您可以为此使用python中的random类。

import random
y=random.randint(100,150)
time.sleep(y)

This way your code resumes after random intervals of time. 这样,您的代码将在随机的时间间隔后恢复。 This prevented my bot from getting blocked for a long time. 这可以防止我的漫游器长时间被阻止。 Hope this helps. 希望这可以帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 有没有办法检查Twitter应用程序是否在后台运行 - Is there any way to check if a twitter app is running in the background 有没有办法获得Twitter用户的电子邮件? - Any way to get Twitter user email? 除了onNewIntent()方法之外,我是否可以通过其他任何方式在Android应用程序中获得Twitter API响应? - Can I get Twitter API response in my Android app any other way than with onNewIntent() method? 有什么方法可以在iOS的Twitter应用程序中获取“关注者/关注者”和“消息”列表? - Is there any way to get the list of 'followers/'following' and 'messages' in my Twitter app in iOS? Twitter,Facebook-有没有办法获得化身的原始图像? - Twitter, Facebook - is there any way to get the original images of avatars? 有没有办法从Twitter API请求中获取链接,主题标签和@names? - Is there any way to get links, hashtags, and @names from Twitter API requests? 有什么方法可以从Twitter网址获取Twitter小部件的小部件ID? - Any way to get widget-id for twitter widget from Twitter url? 登录Twitter App有限制吗? - Is there any limit for sign in to Twitter App? 如何获得推特指标? 是否有任何Twitter API? - how to get twitter metrics? Is there any twitter API for this? Twitter API获取推文-返回被阻止的CORS源 - Twitter API get tweets - returns CORS origin blocked
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM