Ubiquity and Ping.fm 22 Comments

Please note: I am no longer actively developing this command. To the best of my knowledge it still works, but that may change any time, so please use at your own discretion. [Feb 2011]

Like this Ubiquity to Ping.fm command? You might also like my currency converter for Ubiquity – check it out!

I often use Ping.fm to update my status across Twitter and Facebook at the same time instead of logging in to each of them and doing it one after the other — it’s the simple things in life that make it better!

And with the Mozilla Labs Ubiquity project (which I will write more about later), a combination of the two was bound to happen! Presenting, Ping Ubiquity which allows you to post to Ping.fm with just a few keystrokes using the Ubiquity add-on (for Firefox) by Aza Raskin.

Installation

To use it you need to have Ubiquity installed (get it here). To install the Ping.fm commands, go to this page, and Ubiquity should recognize that there are some commands for it on there. You will see a bar across the top that will allow you to ‘subscribe’ to the commands by clicking the “Subscribe…” button that appears. Ubiquity will then present you with a confirmation page with a warning that this is an untrusted source. I give you my word that these commands do nothing to violate your privacy, and only work to allow you to post to Ping.fm via Ubiquity. You can look at the source code, too!

You will have to set-up your Ping.fm API key in order to be able to use this application with your account. See the command examples below for how to do this.

Commands

To setup your API key, you can either select the key in the browser and type (in Ubiquity) the following:

pingfm-key this

OR — Copy your key and use the command:

pingfm-key <paste your key here>

You can also clear your saved API key by using the following command and hitting Enter:

pingfm-key-clear

To post to your Ping.fm account, use the following command

pingfm (trigger) <your post here>

For example, to post to Twitter, you would use

pingfm @tt This is an update via Ubiquity and Ping.fm!

Or, to post to Facebook, use

pingfm @fb is amazed at how easy things are now!

Log & Updates

  • July 11, 2009
    • Support for Ubiquity version 0.5 (and its Parser 2).
  • September 2, 2008
    • You might get an error when setting your Ping.fm app key with this command. That’s means my API key has not yet been approved for userbase access by the guys over at Ping.fm, so please bear with me. If you can set you app key, then all is well and you can post all you want!
    • Planned feature: Ability to get list of last 5 (or 10?) posted updates from Ping.fm. Would love to get some input on this.
  • August 29, 2008
    • Release. No planned features exist currently. If you have any suggestions, I’d love to hear about them!

If you’re not sure what Ubiquity is, check out the video below for some examples of what it can do.


Ubiquity for Firefox from Aza Raskin on Vimeo.

Leave a comment below if you have any questions or thoughts about it!

22 Responses to Ubiquity and Ping.fm

Add your own!

  1. Hey Waleed,

    That’s awesome that you wrote this shortcut.

    Ubiquity will not recognize the ping.fm key, however. I know the key works b/c I have it plugged into my Dashboard widget. Any suggestions?

    Thanks again for writing a great command set.

  2. Hey Zachary,

    What response do you get from Ubiquity? I have it so that the script first checks that the key is in the right format, and only if it is, the key is sent to Ping.fm to validate. There are different error messages for either case.

    If it says “The key is not valid in format” that means the format check failed. In this case, let me know and I’ll do a version that doesn’t validate the format before sending it in to Ping.fm, and then you can subscribe to that one.

    If it says “Hmm, the key doesn’t seem to be valid.” however, that means the key was sent to Ping.fm and came back with an error. If this is the case, are you sure you got your key from here? For this, validation took place with Ping.fm so I’m not sure why this would happen.

    Also, are you copying/pasting the key or are you using the pingfm-key this command?

    Let me know!

  3. Hi Waleed,

    Just wanted to give you a shout to say that this is an awesome command. Thanks for writing it!

    – Aza

  4. Hey Aza,

    Thanks for the comment! I’m glad you find it useful! But more than that, you deserve a hearty pat on the back for an amazing idea like Ubiquity.

    It could change the way people interact with the Web — make it easier for non-savvy users and make it more controllable for the power users. You can’t go wrong with a combination like this.

    Thanks for your work, and like I wrote on your blog (in the comments), the Web needs more people like you!

  5. Waleed,

    Thanks for the response to the comment.

    I didn’t look at the computer at all this weekend, then decided to try the Ubiquity key registration again this morning to write down the exact error for you. However. . . it worked! Fantastic. Thanks so much.

  6. Thanks for the update, Zachary!

  7. This works great. Thanks a lot!

  8. Thanks for the Ubiquity script. Ping.fm works like a charm and there’s one less extension for Firefox to install.

  9. Awesome; I was in the process of writing the same command when I found this.

    How about as-you-type url shortening?

  10. Hi Waleed,

    First of all, thanks for your great job ;) .

    I have installed Ubiquity successfully and I’m running some different commands pretty well, but not your command :( . When I write “pingfm-key copy&paste_my_key” or “pingfm-key this” (when I’m inside ping.fm/key), nothing occurs. The key isn’t saved and because of I can’t post messages through ping.fm, when I write “pingfm my_message_here” I get an alert saying: “Your ping.fm API key is required to be able to post. Use the pingfm-key command to set it”.

    Any idea on where can be the problem? I’ll appreciate some help.

    Thanks,

    David

  11. David,

    It seems Ping.fm is having some technical issues at their end — their site is resolving to a parking page because of a domain transfer gone wrong.

    If you try to access http://ping.fm/ directly, can you get their site?

    Also, when you put in your key with the “pingfm-key” command and hit Enter, do you get any error or success message?

  12. Thanks for the quick response Waleed! ;)

    It seems that it’s working right now. I didn’t get any error or success message, and I can log into ping.fm and send messages without any problem. I have never seen the parking page.

    Thanks a lot for your command, it’s really usefull! ;)

  13. Awesome plugin for ubiquity, one problem…

    When using the word “This” “That” or “It”, it will replace those words with whatever is in your highlight/copy or whatever page you’re own.

    Any way to fix this so I can use those words in my pingfm messages?

  14. Hey Tyler,

    That’s a “problem” with Ubiquity itself I’m afraid and not exclusive to this command. There is a discussion going on about this issue at Mozilla’s Get Satisfaction forum.

  15. Works … very cool. One problem: When I do “pingfm @tt blah” it doesn’t ONLY post to twitter, it goes to all my sites…. FB, Twitter, etc. Is this a ping.fm setting that I have wrong?

    • Hey Steve,

      Does posting work as it should from your Ping.fm Dashboard? That is, if you post “@tt Blah” from the Ping.fm site, does it get posted to just Twitter or is there a problem there too?

      Do the updates get posted along with the “@tt” trigger or has that been stripped?

      Looking into it, I see some threads on the Ping.fm support forums relating to this issue so maybe this is related.

  16. Hi Waleed,

    I use your Pingfm ubiquity command set, and it’s really great. I just upgraded to the new beta (0.5) of Ubiquity, and unfortunately the commands no longer work. Do you have plans to update these commands for the new version? Thanks! Keep up the great work.

    -Andrew

  17. Heya Waleed,
    I’m also interested in an update for the .5 version of Ubiquity. This was my most used plug-in before the beta update – now I wish I hadn’t upgraded.

    Thanks!

  18. Hey guys!

    Terribly sorry for the late action! I’ve updated the script, it should now work with Ubiquity 0.5.

    Functionality remains the same for now, but I’m working on a new version now.

    Thanks for bearing with me!

  19. Thanks Waleed! It’s working great with Ubiquity 0.5.x now!

  20. Where do the “Ping.fm commands” store user’s Ping.fm’s application key? Is that safe stored?
    Thanks!

Leave a Reply

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

Connect with Facebook

*

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>