Skip to Site Navigation

Automating #followfriday

This little programme allows me to manage a list of people that I follow on Twitter whom I feel that others might also to follow as well. When invoked without any parameters, it will draw a random name from the list and post a #followfriday message to Twitter.

The idea is that I just maintain the list and have this running on a cron job every Friday. Picks are random so the same person may be picked more than once in a row.

Thanks to @elpie for reminding me of what day Friday is in cron-speak!

spacer
This work is licensed under a Creative Commons Attribution 3.0 Unported License. Use it at your own risk, don't blame me if it eats your computer, causes a Global Economic Meltdown (too late, someone's already done that, thanks GWB,) etcetera.

The Code

Several attempts were made to copy and paste the code into this article; TinyMCE stuffed up the formatting every time, eating a load of essential backslashes. Rather than convert the whole thing to HTML entities by hand, I've given up and have just posted it in my files section.

Usage

Adding Members

follow-u-tron.pl @user1 @user2 @user3

Deleting Members

follow-u-tron.pl -@user2

Note that you can add and delete in the same command.

Listing Members

follow-u-tron list

Posting to Twitter

follow-u-tron

This may be put into a cron job.

Published Saturday, 14th March 2009, last updated on Saturday, 14th March 2009.

Comments are closed for this post; if you have something you want to share, pleaseuse the contact page.

Categories for follow-u-tron:

  • View other posts in category Social Networking
  • View other posts in category Software
  • View other posts in category Technical
gipoco.com is neither affiliated with the authors of this page nor responsible for its contents. This is a safe-cache copy of the original web site.