Skip to content

Instantly share code, notes, and snippets.

@mightywombat
Created February 26, 2019 19:09
Show Gist options
  • Save mightywombat/bcc8ce4500f7ba3e61c887b9a30b344f to your computer and use it in GitHub Desktop.
Save mightywombat/bcc8ce4500f7ba3e61c887b9a30b344f to your computer and use it in GitHub Desktop.
Posts to Twitter
import twitter
api = twitter.Api(consumer_key=[consumer key],
consumer_secret=[consumer secret],
access_token_key=[access token],
access_token_secret=[access token secret])
status = api.PostUpdate('@madsc13ntist I\'m callin\' you out!')
print(status.text)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment