Tuesday, July 6, 2010

How to add your tweets to your blog

Very simple:

1. Find a way to add html and javascript to your blog.
2. Enter this html:
<ul class="tweets" id="twitter_update_list"></ul>
3. Enter this javascript after the above html
<script type="text/javascript" src="http://twitter.com/javascripts/blogger.js"></script>
<script type="text/javascript" src="http://twitter.com/statuses/user_timeline/robertlom.json?callback=twitterCallback2&count=4"></script>
4. Configure the two values in red to your twittername and how many of the recent tweets you want to retrieve.

This is how I did it on http://www.roblom.com/

Follow me on twitter here

No comments: