/ Published in: jQuery
Make sure you change username.json to your actual username and #twitter to the actual selector you wish to update.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$.getJSON("http://twitter.com/statuses/user_timeline/username.json?callback=?", function(data) { $("#twitter").html(data[0].text); });