Skip to content

Instantly share code, notes, and snippets.

@ukstudio
Created July 14, 2009 03:27
Show Gist options
  • Select an option

  • Save ukstudio/146685 to your computer and use it in GitHub Desktop.

Select an option

Save ukstudio/146685 to your computer and use it in GitHub Desktop.
access_token = OAuth::AccessToken.new(OauthController.consumer, @user.token, @user.secret_token)
res = access_token.post('/statuses/update.json', {:status => "oauth test"})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment