Created
June 8, 2013 02:24
-
-
Save SaraSoueidan/5733687 to your computer and use it in GitHub Desktop.
Display Latest Tweet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$.getJSON("http://twitter.com/statuses/user_timeline/username.json?callback=?", function(data) { | |
$("#twitter").html(data[0].text); | |
}); | |
//put this anywhere and wrap it in a div called #twitter or anything |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment