Closed ghost closed 9 years ago
Since this bot was intended to be run via cron jobs https://en.wikipedia.org/wiki/Cron, this is done by, e.g., scheduling a cron job to run a script that calls the "unfollow everyone" method at 10AM.
On Wed, Aug 5, 2015 at 7:56 PM, 179skr notifications@github.com wrote:
Anyway of adding timing such as at 10AM unfollow everyone etc?
— Reply to this email directly or view it on GitHub https://github.com/rhiever/TwitterFollowBot/issues/67.
Randal S. Olson, Ph.D. Postdoctoral Researcher, Institute for Biomedical Informatics University of Pennsylvania
E-mail: rso@randalolson.com | Twitter: @randal_olson https://twitter.com/randal_olson http://www.randalolson.com
Thanks for the reply, but i wouldnt know how to do certain things such as at 6am follow people and at 10am unfollow everyone etc.. is there any guides on how to get this bot up and running? i am a noob at this first time im using python...thanks :D
The closest thing we have to a guide is the usage guide https://github.com/rhiever/TwitterFollowBot#usage on the README page. I might make some tutorial videos when I get time, but time is hard to come by. :-)
On Wed, Aug 5, 2015 at 8:08 PM, 179skr notifications@github.com wrote:
Thanks for the reply, but i wouldnt know how to do certain things such as at 6am follow people and at 10am unfollow everyone etc.. is there any guides on how to get this bot up and running? i am a noob at this first time im using python...thanks :D
— Reply to this email directly or view it on GitHub https://github.com/rhiever/TwitterFollowBot/issues/67#issuecomment-128190512 .
Randal S. Olson, Ph.D. Postdoctoral Researcher, Institute for Biomedical Informatics University of Pennsylvania
E-mail: rso@randalolson.com | Twitter: @randal_olson https://twitter.com/randal_olson http://www.randalolson.com
Is there a simple follow and unfollow script you could show me i get the concept abit.
Thank you so much for the replies they have helped alot
A follow script would look like:
from TwitterFollowBot import TwitterBot
my_bot = TwitterBot("C:/path/to/my/config.txt")
my_bot.auto_follow("phrase to follow on")
and you would call that script whenever you want it to follow on that phrase.
The unfollow script would look similar but with the auto_unfollow_all_followers()
call instead.
If you are using windows (vista, 7, 8, 8.1 or 10) there will be a certain problem to cron the job.
If you are using gnu/linux (any distro) this will be easier.
crontab that and will be great (there are plenty of manuals of cronjob, try to give all the path, and will be so great. Tested and working so great.)
Anyway of adding timing such as at 10AM unfollow everyone etc?