Created
May 28, 2020 15:08
-
-
Save kurasaiteja/e3b8939ffe3d320af8c9bb91ff374499 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from tweepy import OAuthHandler | |
from tweepy import API | |
# Consumer key authentication(consumer_key,consumer_secret can be collected from our twitter developer profile) | |
auth = OAuthHandler(consumer_key, consumer_secret) | |
# Access key authentication(access_token,access_token_secret can be collected from our twitter developer profile) | |
auth.set_access_token(access_token, access_token_secret) | |
# Set up the API with the authentication handler | |
api = API(auth) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment