Skip to content

Instantly share code, notes, and snippets.

@anthonyshort
Last active December 12, 2015 09:08
Show Gist options
  • Save anthonyshort/4748999 to your computer and use it in GitHub Desktop.
Save anthonyshort/4748999 to your computer and use it in GitHub Desktop.
tweets
window.tweetLoaded = (tweet) ->
document.querySelector('.tweet').innerHTML = tweet[0].text
<script
src="http://api.twitter.com/1/statuses/user_timeline.json?callback=tweetLoaded&screen_name=anthonyshort&count=1&trim_user=true">
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment