Skip to content

Instantly share code, notes, and snippets.

@jrmeyerhofer
Created March 11, 2018 20:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jrmeyerhofer/03a9c9c14a5c888155dfd4310c79c1c3 to your computer and use it in GitHub Desktop.
Save jrmeyerhofer/03a9c9c14a5c888155dfd4310c79c1c3 to your computer and use it in GitHub Desktop.
import tweepy
CONSUMER_KEY = 'replace with your key'
CONSUMER_SECRET = 'replace with your secret'
ACCESS_KEY = 'replace with your access key'
ACCESS_SECRET = 'replace with your access secret'
auth = tweepy.OAuthHandler(CONSUMER_KEY, CONSUMER_SECRET)
auth.set_access_token(ACCESS_KEY, ACCESS_SECRET)
api = tweepy.API(auth)
api.update_status("Sending my first tweet via Tweepy!")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment