Tweet This
Tweet This HTML encoding custom short URL? (1 post)

  1. AndrewGail
    Posted 4 years ago #


    I've been teying to implement our own shortening service in Tweet This. We are using YOURLS and unlike most of the default services it requires a few additional parameters:

    pasting the full custom URL into the address bar returns the short URL in plain text, however testing with Tweet This returns nothing for the shortened URL.

    Looking at the Apache logs it turns out that the Tweet This request looks like this:
    ?signature=12345& amp;action=shorturl& amp;format=simple& amp;url=http://www.cnn.com
    (I've had to add spaces into the "& amp" to get them to display in this post)

    To which YOURLS returns a 400 error: Unknown or missing "action" parameter.

    I tried replacing the & with %26, it was a long shot, and it didn't work...
    I can hack the plugin to fix this just now, but will this issue be corrected in a future update?



Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic