Getting last tweet for a user using jQuery


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



Copy this code and paste it in your HTML
  1. $.getJSON("http://twitter.com/statuses/user_timeline/marcgg.json?count=1&callback=?",
  2. function(data){
  3. alert("text:" + data[0].text);
  4. alert("date:" + data[0].created_at);
  5. }
  6. );

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.