Skip to content

Instantly share code, notes, and snippets.

@tsycho
Last active December 15, 2015 21:49
Show Gist options
  • Save tsycho/5328705 to your computer and use it in GitHub Desktop.
Save tsycho/5328705 to your computer and use it in GitHub Desktop.
oauth_request_url, oauth_token, oauth_token_secret = generate_request_token()
# save oauth_token and oauth_token_secret to @user
redirect_to oauth_request_url
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment