Viewing 1 replies (of 1 total)
  • Plugin Author Peter Booker

    (@peterbooker)

    Hi Marlon,

    Are the links you are talking about similar to this: https://t.co/6gHtf75fdf/ (you can read more about these here). If so, this is how Twitter returns URLs in the Tweet text from their API.

    There are currently two methods the plugin uses to turn the text into links.

    1) Added recently, on servers with Multibyte functions available in PHP, we use the entity data from Twitter to replace this Short URL with what Twitter calls the ‘display_url’, which is the real URL with a cutoff after a certain amount of characters.

    2) If the above is not available, we use regex to find each Short URL in the text and turn it into a link.

    What does this mean? If you are using the latest version and still seeing Short URLs then the first method is not possible on your hosting. This means there is no way for us to replace it with the real URL.

    If any of this does not make sense, let me know!

Viewing 1 replies (of 1 total)
  • The topic ‘Strange URL’ is closed to new replies.