mike ward content follows

command line tweeting

Lots 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:

One Response to “command line tweeting”

  1. Sidu Says:

    Do take a look at http://github.com/kaiwren/wrest/tree/master/examples
    I’d appreciate any feedback you may have.

Leave a Reply