Display Last Tweet


/ Published in: jQuery
Save to your folder(s)

Make sure you change username.json to your actual username and #twitter to the actual selector you wish to update.


Copy this code and paste it in your HTML
  1. $.getJSON("http://twitter.com/statuses/user_timeline/username.json?callback=?", function(data) {
  2. $("#twitter").html(data[0].text);
  3. });

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.