Please type "djmjr" into the following box:


Using Twidge to post random #FollowFriday (#FF) tweets
I was trying to decide who to select for my #FF tweet this week, and couldn't really -- I follow each person because I like them, so anyone could be eligible. So, I thought it would be fun to have a shell script where Twidge could grab my list of followed people, select a number of random names, and then tweet out the result. I came up with this (all one line):

twidge lsfollowing | shuf -n 6 | while read line; do echo -n " @$line"; done | cat <(echo -n "Random #FF:") /dev/stdin | twidge update

It could use some improvements, but it should do what I need it to. I threw it into a batch file and pointed crontab at it to run it automatically each Friday morning.

2010-10-16 16:20:21 EST

Other Visitor's Comments:

Created entirely by djmjr.
Creative Commons License
This work is licensed under a Creative Commons License.