Skip to content

Instantly share code, notes, and snippets.

@cheeplusplus
Created June 11, 2013 23:23
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cheeplusplus/5761680 to your computer and use it in GitHub Desktop.
Save cheeplusplus/5761680 to your computer and use it in GitHub Desktop.
Sample OAuth post with Twython
import twython;
twitter = twython.Twython(twitter_token='CONSUMER_KEY', twitter_secret='CONSUMER_SECRET', oauth_token='ACCESS_TOKEN', oauth_token_secret='ACCESS_TOKEN_SECRET');
twitter.updateStatus(status='MESSAGE');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment