Create a Twitter Info Server with Bash
Jul 25, 2009, 03:02 (0 Talkback[s])
Re-Imagining Linux Platforms to Meet the Needs of Cloud Service Providers
[ Thanks to Andrew
Weber for this link. ]
The first example is a bash script that you can save in your home
directory, say call it twitter.sh and then chmod 755 the script.
Here is how the script works. The two variables at the start, are
where you will need to enter your email address and then your
password. These variables are called later in the script. The "URL"
variable is used to connect to the twitter account and is used
later in the script. The "result" line uses curl to send the
username and password to twitter to connect to the account and then
the status message is what is tweeted on your