tags:

views:

253

answers:

3

I want to display a twitter feed of a user on my website. What is the simplest way to do this? I guess Javascript. What I want specifically is for the last 5 tweets to load & then, when another tweet is made, for that to automatically appear at the top of the Tweets. It needs to cover pretty much the whole website, apart from the header & footer. Any suggestions/code to do that?

Cheers, help greatly appreciated!

+2  A: 

Loading new data without refreshing will need to be AJAX. To get the data, ses the Twitter API http://apiwiki.twitter.com/. The API will allow you to get the data in the format of choice (xml, json, ect...) which you can then parse and return either the data or HTML to the page that submitted the AJAX call. That should give you a push in the right direction.

Kylee
+1  A: 

Simplest way would be adding the Twitter widget : http://twitter.com/goodies/widget%5Fprofile and it updates new tweets automatically (using AJAX I think). You ca set the dimensions too.

Shoban
A: 
Yasir

related questions