12

Twitterupdater wordpress plugin for identi.ca

Update: Using the WP-Status.net plugin now

I was using twitterfeed.com to post my blog posts on identi.ca and twitter, but since the service behaved sometimes strangely re-posting old posts and spamming my followers (maybe it was my rss fault anyway) I decided to find a proper wordpress plugin to do the job. Twitterupdater is a simple, nice plugin with clean source code but uses twitter service and not the FLOSS and better identi.ca. Fortunatelly identi.ca is API compaliant with twitter so here is a quick tip on how to change the service twitterupdater uses.

  1. Download from twitterupdater.com
  2. Open twitter_updater.php with your favorite text editor, or with wordpress edit plugin feature
  3. Change line 64 from $host = 'twitter.com'; to $host = 'identi.ca';
  4. Change line 96 from $twitterURI = "/statuses/update.xml?source=ingoalstwitterupdate"; to $twitterURI = "/api/statuses/update.xml?source=ingoalstwitterupdate";
  5. Configure the plugin as usual
  6. Enjoy!

Note that this blog post is a test to check if this is going to work ;)

Update: and yes it works! ;)

Extra Tip: You can find all the '@' symbols in twitter_updater.php file and add an extra space after them so identi.ca parses the shorten url as link.

Edit: Testing if the twitterupdater plugin still works with wordpress 2.9.2

  1. Dave Conan says:

    Hi, i’ve read from http://twitterupdater.com that the newest plugin doesnt work in latest version of wordpress, so, does your way this still work?
    Thanks…

    • seadog says:

      Hmm works for me! Actually I haven’t even noticed the comment on the twitterupdater.com webpage about the plugin not working. I installed the plugin while running the 2.8.x series (I think) and the plugin worked fine from the first moment. Now running wordpress 2.9.2 – the latest version – and just did an post update to check it. Still works! ;)

  2. Dave Conan says:

    well, just tried it and it doesn’t work, anyway, thanks, man

  3. Dave Conan says:

    took it from the twitterupdater site :
    “Edit #12 (August 22nd 2009): Ooops, plugin doesn’t work with WP2.8.x, we’re currently working on a new version…watch this spot…”

    Well, actually i’m very interesting with your method, could you give us the plugin u use? i’m very thanks for that,

  4. Angelverde says:

    Probando…

    Gracias.

  5. Uldis says:

    I dont like this plugin, because it use shortlinks. Why i need short link if i can add my blog url?

    • seadog says:

      Well you need shortlinks because blog urls and titles are usually to big for twitter like services. For example your latest post in your blog is “ATB prezentē video un uzstāsies Lasvegasā (+VIDEO)” which has a permanent url “http://www.openart.lv/2010/06/22/atb-prezente-video-un-uzstasies-lasvegasa-video/”. The combination of two is 133 characters. If you append a prefix to declare that this is an automated post, like [blog post], you are over the 140 character limit.

      If you still don’t like it and don’t find a practical usage of short urls, I’m sure that you can easily disable them in the plugin code.