Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
import tweepy
import scrapercfg as key
CONSUMER_KEY = key.consumer_secret
CONSUMER_SECRET = key.consumer_secret
ACCESS_TOKEN = key.access_token
ACCESS_SECRET = key.access_secret
auth = tweepy.OAuthHandler(CONSUMER_KEY,CONSUMER_SECRET)
auth.set_access_token(ACCESS_TOKEN,ACCESS_SECRET)
api = tweepy.API(auth)
print(api.me().name)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment