YOURLS Twitter Tools wordpress plugin

(Update 2012-10-20) I see there is a new version of Twitter Tools, ver 3.0. The new version is a complete rewrite so this plugin is no longer compatible. I’m planning on taking a look to see how much work it is to update and get it working with the new version of Twitter Tools

I’ve been looking for a YOURLS url shortener plugin that is compatible with Twitter Tools for a while now. There was one “yourls plugin for twitter tools 2.0” but it’s been unmaintained since August 27th, 2009.

I finally bit the bullet and wrote my own. The plugin is based on Twitter Tools – Bit.ly URLs code and has been tested with WordPress Version 3.0.1.  It’s still pretty Beta, for example I don’t check if the Service URL and Signature token is correct or even entered.  But it works for me.

Installation

Copy the contents of the archive into the wp-content/plugins/ folder then activate the plugin on the “Plugins page”.

Configure

Once the plugin has been Activated, you can configure it via the Twitter Tools settings page. You’ll need to enter the full API url (including the yourls-api.php). You can find your Signature token on the tools page of your YOURLS installation.

Download

Here is a packaged version of the plugin yourls-tools.tar (27 August 2010)

Posted in Software by Stewart at August 27th, 2010.
Tags: , ,

21 Responses to “YOURLS Twitter Tools wordpress plugin”

  1. URL Shortening at your finger tip. :) | Lazy Blogger

  2. CapitaineSeb says:

    Hey,
    What format of signature token we should use if Yourls is “private” ?
    Thansks,
    S.

    • Stewart says:

      Hey,

      The token can be found on the tools page, or admin/tools.php. Look for the line “Your secret signature token: ” the token follows the :

  3. CapitaineSeb says:

    Hey,
    What is the end of the URL ?
    http://zzz.fr/yourls-api.php?signature=zzzzzzzzz&action=
    ?
    S.

  4. [...] Twitter Tools Yourls Plugin installieren & aktivieren [...]

  5. [...] post:  YOURLS Twitter Tools wordpress plugin – Stew's Spot [...]

  6. [...] kept creating extra links and that kind of annoyed me. I found that someone created a Twitter Tools plugin to work with YOURLS. I tested it and it worked perfectly.So, now all my posts to Twitter are using [...]

  7. lotrix says:

    its hard to find plugins for yourls.. does this one still work…

  8. Pgrytdal says:

    Hello!

    What is the url to the setting page? http://yourdomain.com/wp-admin/?????????

    Also, have you thought of uploading this to the WordPress Respiratory? I can help with that, if you want me to.

    • Stewart says:

      The settings page is under “Settings” -> “Twitter Tools”, then look at the bottom of the page.

      Yea I should get around to uploading it to the WordPress Repository but I just haven’t had time. I’ll see if I can do it this weekend.

  9. Dave says:

    After setting this up successfully on one of my blogs I decided to set it up on another. But it’s not working on the new blog. The settings are exactly the same on each blog yet when I post from the second blog the tweet contains no URL and no URL is added to my YOURLs installation. Any thought?

    Thanks.

  10. 320Volt says:

    Thanks a useful wordpress plugin

  11. Chris Lott says:

    I see that Twitter Tools 3.0 has been released…do you have plans to update this plugin to work with it?

    • Stewart says:

      Yes I’ve just seen there is a new version. I’ll take a look and see how much work it’s going to be to update the plugin. Maybe tackel it this weekend.

  12. Taimoor says:

    Its very useful! :D
    I recently wrote about Displaying Advertisements before redirection in Yourls. You should read it. :)
    http://taimoorsultan.com/show-ads-before-redirection-in-yourls/
    Thanks! Happy New Year

Leave a Reply

*