Ping.fm is simple service for updating multi social networks. Ping.fm currently supports 18 social networks and custom url. Although it’s in beta, it works great.

Updating is possible thru variety of services/tools: AOL instant messenger, GTalk, iPhone Web app… Developer API is also available and it’s subject of this blog post.

I wrote a Ping.fm Ruby Class which acts as a wrapper for Ping.fm API. Using ping.fm class is easy (you’ll need a API key as well as user app key):


require "pingfm"
pingfm = Pingfm.new("abcde", "12345")
# abcde is API key and 12345 user app key
puts pingfm.validate()["status"]
# return OK if successful, otherwise FAIL

Posting is also easy:


require "pingfm"
pingfm = Pingfm.new("abcde", "12345")
pingfm.post("this is posted to all my services")

Class supports all Ping.fm API calls. All methods are well documented.
You can grab Ping.fm Ruby Class here:
pingfm.rb.tar.gz
pingfm.rb.zip

You can also get refactored version of Ping.fm Ruby Class done by Dale Campbell at http://github.com/Oshuma/pingfm/