Skip to content

Instantly share code, notes, and snippets.

@danhunter
Created July 26, 2012 15:40
Show Gist options
  • Save danhunter/3182783 to your computer and use it in GitHub Desktop.
Save danhunter/3182783 to your computer and use it in GitHub Desktop.
begin
@tweet = Twitter.user_timeline("xxx").first.text
rescue
@tweet = "Twitter is down :("
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment