Twitter Code for Text Widget in WordPress Sidebar
<div id="twitter_div">
<ul id="twitter_update_list">
<a href="http://twitter.com/YOURURLHERE" id="twitter-link" style="display:block;text-align:right;">follow me on Twitter</a>
</div>
<script type="text/javascript" src="http://twitter.com/javascripts/blogger.js"></script>
<script type="text/javascript" src="http://twitter.com/statuses/user_timeline/YOURURLHERE.json?callback=twitterCallback2&count=5"></script>
Change the YOURURLHERE to your actual twitter url and voila.

September 9th, 2009 at 9:30 am
Hi! I was surfing and found your blog post… nice! I love your blog.
Cheers! Sandra. R.
September 9th, 2009 at 11:12 am
Can Twitter really Compete With Facebook?
March 28th, 2010 at 8:47 am
Twitter is really a good way in keeping yourself updated with the day to day activities of your friends and families members. I update my Twitter and personal blog daily.
December 7th, 2010 at 4:27 pm
thanks =)
January 21st, 2011 at 6:01 am
Why can’t more twitter widgets be like this one? People keep getting way too complicated.
March 30th, 2011 at 12:49 pm
Hi thanks for the code.
I was wondering is it possible to show only the tweets, that are not replies?
July 12th, 2011 at 7:55 pm
[...] Twitter Code for Text Widget in WordPress Sidebar Tweet This entry was posted in Random Thoughts by Administrator. Bookmark the permalink. [...]
July 12th, 2011 at 7:56 pm
Thanks for the great code. Solved an issue for me and no widget required.
August 21st, 2011 at 4:56 pm
good point ^^
October 10th, 2011 at 2:24 pm
thanks for the code
i’ll try it out tomorrow