Friday, July 13, 2007

Twittery

Okay, so I started using Twitter and, of course, whenever I start to use something like this, I start trying to use it as efficiently as possible. Unfortunately, the Emacs Twitter tool on the Emacs wiki doesn't seem to work for me very well. I'm using v21, which gives me some kind of error return from the URL fetch. And I would like something easy to use from the command line too, so I worked up this little bash function, which uses curl (obviously):


function twit() {
curl -s -u twituser:twitpass -d "status=$*" http://twitter.com/statuses/update.xml >/dev/null
}


Now I can just type in twit This is an update and the update goes right to twitter. Oh, goodie goodie!



Twitter Fan Wiki / API Docs






No comments:

Post a Comment