
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.
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
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.
Sorry meant http://www.nipseyhussle.com/, thanks!!!
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?