TwitterFollowBot
TwitterFollowBot copied to clipboard
Can someone please show me a sample code just for auto-follow when phrase is found?
I'm new to GitHub and have no idea how to actually use this code besides filling my info in. Can someone just make a sample one with @Example with instructions on what I do with the code and where do I run it.
Thank you for your patience. I'm new to Python but have everything installed pip wise.
Hi @OyeBenny, assuming that you have successfully created a config.txt following the instructions on the main page of this repo. All you need to do is create a python (.py) file and add then call in the bot instance(s) and the functions you want to run.
an example is attached. This is my bot.py file in the same folder where config.txt resides:
from TwitterFollowBot import TwitterBot
my_bot = TwitterBot()
my_bot.sync_follows()
my_bot.auto_follow("designer", count=1000)