Created
August 7, 2020 22:15
-
-
Save angadaws/17d2e1f29fd90dd23c986da97c0aac1f to your computer and use it in GitHub Desktop.
This file contains hidden or 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
import tweepy | |
# Authenticate to Twitter | |
auth = tweepy.OAuthHandler("CONSUMER_KEY", "CONSUMER_SECRET") | |
auth.set_access_token("ACCESS_TOKEN", "ACCESS_TOKEN_SECRET") | |
# Create API object | |
api = tweepy.API(auth) | |
# Create a tweet | |
api.update_status("Hello Tweepy") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment