Posted By

iqwebdev on 08/03/10


Tagged

twitter


Versions (?)

Who likes this?

4 people have marked this snippet as a favorite

choise
tardyace
jeremyalfordgmailcom
verostudios


Display Last Tweet


 / Published in: jQuery
 

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

  1. $.getJSON("http://twitter.com/statuses/user_timeline/username.json?callback=?", function(data) {
  2. $("#twitter").html(data[0].text);
  3. });

Report this snippet  

You need to login to post a comment.