Created
October 12, 2011 15:41
-
-
Save jrpz/1281560 to your computer and use it in GitHub Desktop.
Twitter Feed
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
<div id="tweets"></div> | |
<script> | |
var timeline_url = "http://twitter.com/statuses/user_timeline/USERNAME.json?count=1&callback=?"; | |
$.getJSON(timeline_url, function(tweets){ | |
$.each(tweets, function(i, tweet){ | |
$('#tweets').append(tweet.text); | |
}); | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment