How I update my status

I have long said, Twitter is not a product, it’s a feature.  (Although the general population is not listening to me.)  Since several sites now support some type of status, I wanted an easy way to update them at once.  A while ago I started using ping.fm.  Being the CLI guy that I am, I wrote a script to post my updates via Ping.fm to Twitter, Facebook, and LinkedIn.  A few have asked, so here you go:

1
2
3
4
5
6
7
8
#!/usr/bin/ruby
 
require 'rubygems'
require 'xmpp4r-simple'
 
jabber = Jabber::Simple.new('username@example.com', 'private')
jabber.deliver('pingdotfm@gmail.com', ARGV.join(' ').to_s)
sleep (5)
This entry was posted in Technology and tagged , , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">