spences10 / twitter-bot-bootstrap

Twitter bot bootstrap :boot: using node and twit :bird:
https://medium.freecodecamp.com/easily-set-up-your-own-twitter-bot-4aeed5e61f7f#.dw898leyj
MIT License
231 stars 104 forks source link

Twitter Suspends Account immediately #210

Closed fussellm closed 6 years ago

fussellm commented 6 years ago

I went through the tutorial and it retweeted something during the "npm start", and again during the "npm run deploy", but as soon as i click the link to view the unique URL, it says on the Twitter website "account suspended". I created a new twitter account tonight just to tinker with this stuff. This is my first tweet/re-tweet. It works during the testing phase. I'm just doing a query search parameter of "pack9" - which is the nickname of the NC State baseball team.

It is because i'm using such a new twitter account? I'm really just trying to learn/tinker, but i guess they deem it malicious/fake?

Is this happening to anyone else?

spences10 commented 6 years ago

Hey @fussellm thanks for taking an interest in the repo :+1:

I'd say that your guess is probably correct here and it'll probably be something that should be added to the docs.

Can you log into the Twitter account? Does it say anything when you log in?

fussellm commented 6 years ago

Yes. The twitter account is active from a browser/GUI standpoint. But the link I get from the tutorial just says account suspended. Thanks for the feedback.

fussellm commented 6 years ago

Interestingly, the bot is still kind of working? It did a single re-tweet overnight, and when i just followed it from my main account, it replied "hi" twice.

spences10 commented 6 years ago

:thinking:

What unique URL is it? This from now?

Reopening as there needs to be something added to the docs around account suspension, if we can identify what's happened here other users can understand what's going on

fussellm commented 6 years ago

Hey. i go to my "zeit" site and i click my unique URL and it takes me to a page Synced... prepared container installed and built project started then it says "Ready visit now" and here's the link https://testtwitter9191-ygpqmiujzm.now.sh/

The twitter account is GlenDavis919

fussellm commented 6 years ago

i opened a new AWS environment and retyped the setup steps, just to have a fresh version. the retweet worked in test and production here's the new link https://twitter-bot-bootstrap-azffdittug.now.sh/

spences10 commented 6 years ago

Ok, the link shall point to the Twitter account

https://github.com/spences10/twitter-bot-bootstrap/blob/27407bc0d1585d56ef05907b4769879867c8a7de/src/bot.js#L27

The link needs the Twitter username to work correctly 👍

fussellm commented 6 years ago

Ok, i see on my phone its saying @ undefined when it says the account is suspended. The latest version i made is currently working, retweeting the search terms every 20 minutes, so i guess i'm going to leave it alone, and then see what other things i can tinker with, or even do one of those write-from-scratch tutorials to understand it more.

Thanks!

spences10 commented 6 years ago

Closing this now due to inactivity, reopen if you have anything else to add

Many thanks