Page 1 of 1

Twitter BBCode

Posted: 06 Mar 2010, 10:30
by BBCode Bot
Twitter BBCode

Author: JACP
Description: The Twitter BBCode provides a way to add public "tweets" from a registered Twitter account into forum posts or signatures. This will only work with public accounts--private (restricted) accounts will not display without giving username/password, which is a big security no no (IMHO).

BBCode:

Code: Select all

[twitter]{INTTEXT}[/twitter]
HTML:

Code: Select all

<div id="twitter_div" style="background-color: #EEDEEE; -moz-border-radius: 10px; -webkit-border-radius: 10px; border: 3px solid #000000; padding: 4px;">
<p><i>Latest Five Tweets From:</i><b>" {INTTEXT}"</b></p>
<hr style="height:3px; width:100%; border:0; color: black;background:black;" />
<ul id="twitter_update_list"></ul>
<center>
<a href="http://www.twitter.com/home" target=_blank>Click for Twitter.com </a>(for posting tweets or to set up new account)<hr>
Remember:  Never Tweet Personal/Private Info!</center>
</div>
<script type="text/javascript" src="http://twitter.com/javascripts/blogger.js"></script>
<script type="text/javascript" src="http://twitter.com/statuses/user_timeline/{INTTEXT}.json?callback=twitterCallback2&count=5"></script>
Helpline:

Code: Select all

Twitter:  [twitter]Twitter User Name[/twitter]
Example:

Code: Select all

[twitter]justaclaypot[/twitter]
Demo:
[twitter]justaclaypot[/twitter]