Back to vBulletin 4.x Add-ons

BBcode for Embedded Tweets
Mod Version: 1.01, by Bisha

vB Version: 4.2.0 Rating: (8 votes - 4.88 average) Installs: 58
Released: 18 Oct 2012 Last Update: 19 Oct 2012 Downloads: 249
Not Supported External Content  

Overview

The Embedded Tweet feature allows websites to generate copy and paste-able HTML markup to render a Tweet on any third-party website. This markup presents a Tweet in an attractive (and display guidelines compliant) way, and automatically sets up Web Intents so that viewers of the Tweet may retweet, reply, favorite, and follow easily from the rendered view. https://dev.twitter.com/docs/embedded-tweets



How to Install:

Custom BB Codes->Add New BB Code

Title: Tweet
BB Code Tag Name: tweet (or whatever you want)

For Replacement paste this:
HTML Code:
<script type="text/javascript">
function loadx(data) {
  document.write(data.html);
}
</script>
<script type="text/javascript" src="https://api.twitter.com/1/statuses/oembed.json?id={param}&callback=loadx"></script>
<div class="twitter" onLoad="loadx().html"/>

Confirm: Continue!

How to Use?

Copy the ID of the Tweet Status



and then paste on Tweet tag:

[tweet]ID HERE[/tweet]

Enjoyed!

Download

File Type: %1$s Twitter-bb-code.zip (314 Bytes, 276 downloads)

Screenshots

Click image for larger version
Name:	tweet.png
Views:	1863
Size:	66.9 KB
ID:	141805   Click image for larger version
Name:	tweet-.jpg
Views:	1852
Size:	27.7 KB
ID:	141806  

Similar Mods

BB Code Enhancements HTML5 Embedded Video & Audio Player - BBCode vBulletin 4.x Add-ons
Mini Mods HTML5 Embedded Video Player - BBCode vBulletin 3.8 Add-ons
Mini Mods Full Screen Button in Google video embedded Videos and BBcode vBulletin 4.x Template Modifications

vblts.ru supports vBulletin®, 2022-2024