Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import tweepy
- from tweepy import OAuthHandler
- consumer_key = 'YOUR-CONSUMER-KEY'
- consumer_secret = 'YOUR-CONSUMER-SECRET'
- access_token = 'YOUR-ACCESS-TOKEN'
- access_secret = 'YOUR-ACCESS-SECRET'
- auth = OAuthHandler(consumer_key, consumer_secret)
- auth.set_access_token(access_token, access_secret)
- api = tweepy.API(auth)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement