command line tweeting
Posted in ruby, twitter on April 1st, 2009 by mdwLots of folks tweet from the command line and I know why. Because you can customize your tweeting to suit your tastes. I tweet to several twitter accounts, so I need something that’ll let me specify which account to tweet to. My solution was to use the rest-client gem and to keep the account info in a YAML file. My tweet.rb script follows:
To use it be sure to create a .twitter directory, and place your tweetlist.yml file in there, formatted like so:
