Announcement

Collapse
No announcement yet.

Embed Tweet

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 720
    replied
    Originally posted by spiderweb View Post
    Log into your Admin CP go to Custom BB Codes on the side menu, expand it, and choose Add New Bb Code.

    On the next page enter the following:

    Title: Tweet
    BB Code Tag Name: tweet
    Replacement:

    Code:

    <blockquote class="twitter-tweet" lang="en"><p lang="en" dir="ltr"><a href="https://twitter.com/abc/status/{param}"></blockquote> <script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>
    Example: [tweet]642036152850083841[/tweet]
    Description: Embeds a Tweet
    Use Option: No
    Button Image: (Leave blank or find your own icon image)
    Remove Tag If Empty: YES
    All remaining Yes/No questions - also YES.

    And save the BB Code.

    Now in a post you can post something like

    [tweet]642036152850083841[/tweet]

    to embed a tweet.

    You find the number by finding the link to the tweet on twitter and taking the number from the link.

    For example the link to a tweet might be:

    Code:

    https://twitter.com/fox5ny/status/642037356162256896
    So in this case use:

    [tweet]642037356162256896[/tweet]

    To embed the tweet.
    This works for me, but with a slight hiccup: The rest of the post, including the Edit button below the post, gets linked to the Twitter post. This means I cannot as a moderator edit the post afterwards, since it just sends me to Twitter. Sounds like something isn't properly terminated.

    Leave a comment:


  • lange
    replied
    The following BBcode works into the posts too. Tested on FireFox with Enhanced Tracking Protection at OFF.

    https://www.vbulletin.org/forum/showthread.php?t=328058
    Last edited by lange; Tue 9 Jun '20, 4:02am.

    Leave a comment:


  • Wayne Luke
    replied
    The above code works for me without modification as well.

    Leave a comment:


  • Mark.B
    replied
    This works for me

    Code:
    <blockquote class="twitter-tweet" data-lang="en"><p lang="en" dir="ltr"><a href="https://twitter.com/twt/status/{param}">Embedded Tweet</a></blockquote>
    <script src="//platform.twitter.com/widgets.js" charset="utf-8"></script>
    Example:
    https://www.talknewsuk.com/forum/mis...502-tweet-test

    Leave a comment:


  • spiderweb
    replied
    Log into your Admin CP go to Custom BB Codes on the side menu, expand it, and choose Add New Bb Code.

    On the next page enter the following:

    Title: Tweet
    BB Code Tag Name: tweet
    Replacement:

    Code:

    <blockquote class="twitter-tweet" lang="en"><p lang="en" dir="ltr"><a href="https://twitter.com/abc/status/{param}"></blockquote> <script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>
    Example: [tweet]642036152850083841[/tweet]
    Description: Embeds a Tweet
    Use Option: No
    Button Image: (Leave blank or find your own icon image)
    Remove Tag If Empty: YES
    All remaining Yes/No questions - also YES.

    And save the BB Code.

    Now in a post you can post something like

    [tweet]642036152850083841[/tweet]

    to embed a tweet.

    You find the number by finding the link to the tweet on twitter and taking the number from the link.

    For example the link to a tweet might be:

    Code:

    https://twitter.com/fox5ny/status/642037356162256896
    So in this case use:

    [tweet]642037356162256896[/tweet]

    To embed the tweet.

    Leave a comment:


  • Wayne Luke
    replied
    What is the BBCode?

    Leave a comment:


  • spiderweb
    replied
    I found a bbcode but it does not appear to work on newer versions of 5.

    Leave a comment:


  • Wayne Luke
    replied
    Doesn't appear to work.

    Leave a comment:


  • Wayne Luke
    replied
    There is no way to do this at this time as far as I am aware. Maybe the Link content type works but I haven't tested it.

    Other option would be a custom BBCode, adding it to the Video BBCode (not really a proper solution) with custom XML, or using a third-party addon.

    I don't see a feature request to add Twitter Embed within the bug tracker.

    Leave a comment:


  • spiderweb
    started a topic Embed Tweet

    Embed Tweet

    How do you go about embedding tweets into posts.?

Related Topics

Collapse

Working...
X