Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Paulius Putna 78 posts 136 karma points
    Aug 12, 2016 @ 09:52
    Paulius Putna
    0

    Twitter Url is cut off

    Hi all,

    I am using Umbraco 7.4.3 and Skybrud.Social 0.9.4.3.

    I successfully integrated the Twitter feed, however the links are cut off with "...".

    On top of that I use https://github.com/terenceponce/jquery.tweet-linkify to makes anchors.

    enter image description here

    What happens are the cut of links are broken.

    enter image description here

    Is there an easy way to fix this and don't cut off the links?

    Thanks,

    Paulius

  • Anders Bjerner 448 posts 2601 karma points MVP 4x admin c-trib
    Aug 15, 2016 @ 18:08
    Anders Bjerner
    0

    Hi Paulius,

    Along with the standard text of the message, a tweet also contain information about links, hashtags and mentions in the tweet. Twitter calls these entities. I wrote this Gist a while a go to properly format the entities:

    https://gist.github.com/abjerner/82b5b87ddb0e506c122a

    It still works, but when I look at the code, it might need some HtmlEncode here and there to prevent harmful HTML.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies