Follow mclelun on Twitter +deviantWatch mclelun +fan mclelun +fan mclelun RSS Feed


Blog



jQuery Twitter Update List




After my first experiment using jQuery to develop a rotating banner, I noticed that the script I wrote could be use for other similar list items such as a Twitter update list.

To retrieve recent my tweets, I paste the following JavaScript provided by Twitter into the <body> of my page.

<script src="http://twitter.com/javascripts/blogger.js"></script>
<script src="http://twitter.com/statuses/user_timeline/username.json?callback=twitterCallback2&count=3"></script>

Then, I make some simple changes to my jQuery rotating banner script and CSS. Viola! The twitter update list is working as expected. You can view the demo in this page.

Download

To use this twitter update list, You will need to replace the username with your twitter name. You can also specify how many tweets to retrieve by changing the value of count parameter.

jqtwitter.js 1KB
jqbanner.zip 35.5KB

3 good spams feed to “jQuery Twitter Update List”

Spam and share this with your friends now!


twitter facebook delicious stumbleupon technorati digg
  1. sanjeev says:

    Well, this query dont pickup post from all user. I used this one http://twitter.com/#!/haps_clubhouse It only shows post from Haps_clubhouse. It should show all post from any user.

  2. Lewis says:

    Hi thanks for the info on the twitter update list, I was wondering if there a way to make it scroll, like on http://www.nipseyhussel.com. I have come across quite a few blogs where many people are looking for a way to implement a horizontal scrolling twitter ticker/wodget. I fairly new to java, and would like you help. Can you help?

Leave a Good Spam





archives


logo Copyright © 2010-2011 mclelun.
Valid XHTML. Subscribe RSS rss.
spam eaten
5,883 spam!