Previously I scraped together a little bash script to post tweets to twitter. At the time it was just a bit of fun.
Now it’s serious.
Twitter no longer allow basic authentication, so you need to use oAuth or something else. No more posting with cURL. Luckily there is a command line tool, twurl (installed as a ruby gem), which allows posting from the command line.
So, using twurl, I now have an a perl programme which notifies me if it has been killed or otherwise come across some error condition. I can even get the tweets sent to my phone via SMS using the normal twitter functionality to do this.