PDA

Orijinalini görmek için tıklayınız : Embed Tweets from Twitter BB Code



vBulletin.Org
27.Eylül.2015, 13:51
As with most BB Codes this should work on all versions of vBulletin including vBCloud.

Will embed tweets as you see here (https://sedona.vbulletin.net/forum/testing-and-other-stuff/299-test-topic?p=414#post414).

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:

<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: 642036152850083841
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

642036152850083841

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:

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

642037356162256896

To embed the tweet.

Original Source: Embed Tweets from Twitter BB Code (https://www.vbulletin.org/forum/showthread.php?t=320191&goto=newpost)