rhiever / TwitterFollowBot

A Python bot that automates several actions on Twitter, such as following users and favoriting tweets.
GNU General Public License v3.0
1.3k stars 448 forks source link

only follows? #134

Open alfons3992 opened 6 years ago

alfons3992 commented 6 years ago

Hey, so my line looks like this:

from TwitterFollowBot import TwitterBot my_bot = TwitterBot() my_bot.auto_follow("phrase") my_bot = TwitterBot() my_bot.auto_follow("#hashtag") my_bot = TwitterBot() my_bot.auto_fav("phrase", count=1000)

and when i run it, it only follows "phrase" but doesnt retweet or favorite any tweets please help

also if i got 30 of these bots, how can i put proxies on each of them?

thanks :)

msanvarov commented 6 years ago

Instead of creating many instances of a class write it once. So it should be my_bot = TwitterBot() my_bot.auto_follow("phrase") my_bot.auto_follow("#hashtag") my_bot.auto_fav("phrase", count=1000)

chemostafa commented 6 years ago

Its only follows with me to from TwitterFollowBot import TwitterBot phrase my_bot.auto_follow("phrase") my_bot.auto_follow("#phrase") my_bot.auto_follow_followers() my_bot.auto_fav("phrase",count=1000) my_bot.auto_rt("phrase", count=1000)

And its only follow , no rt or fv Also.I need to know how I writ mor hashtag ? Is that look like my_bot.auto_follow("#phrase" , "also") Or without space like my_bot.auto_follow("#phrase"," also") Sorry I new in programmer

mablono5 commented 6 years ago

Try this

my_bot = TwitterBot() my_bot.auto_follow("phrase", count=3) my_bot.auto_follow("#hashtag", count=3) my_bot.auto_fav("phrase", count=3)

Once you have added the counts and ran the script it should auto stop.

Bear in mind that you can change the count to what ever you want but the script will run through each part before moving on to the next.