Twitter


Layout / Graphics: Schrei
Resources: 1 2 3
Best Viewed in Chrome. Okay in MFF
Resolution: 1024 x 768 or wider.
Twitter
Monday, January 10, 2011
(0) comments

For some reason Twitter decided to remove the good ole HTML code to show your tweets/updates on your website in favor for a scrolling loop flash widget, don’t get me wrong there’s absolutely nothing wrong with it but for me its a bit overkill. Sure, there are plenty of plug-ins available to show tweets, but all I wanted was to display nothing but the text of said Twitter updates and have complete control over the way they look.

So here’s the code :

<div id="twitter">

<ul id="twitter_update_list"></ul>

<script type="text/javascript" src="http://twitter.com/javascripts/blogger.js"></script>

<script type="text/javascript" src="http://twitter.com/statuses/user_timeline/USERNAME.json

?callback=twitterCallback2&count=4"></script></div>

Be sure to change USERNAME to your own Twitter ID (or anyone’s ID if you really want to) and change count=4 to whatever number of tweets you want to display. The main advantage of using this as opposed to the new Twitter widgets, is that by wrapping it in some CSS code you can control pretty much every aspect of the look to suit your taste (this includes the removal of bullets) and/or existing web design.

Labels:


I am who I am.
Tharangni, 15
Hello world! I am Tharangni, your average teen from India whose dreams are a partial wish now. I love anything cute, sweet, 한국어, 日本語, dreamy and I ♥ Paris!
view my networks?

words can describe me


they may be far, but they're the fastest.
Ayu Leona PuiLing AnnaMay Choco Sunakshi Sammy Selenium Vandana