skip to Main Content

Post tweets using tweepy and Twitter API V2

I need my Twitter app to tweet some information, but something is going wrong. First, I created an app and tried this code to test credentials: auth = tweepy.OAuthHandler("CONSUMER_KEY", "CONSUMER_SECRET") auth.set_access_token("ACCESS_TOKEN", "ACCESS_SECRET") api = tweepy.API(auth) try: api.verify_credentials() print("Authentication Successful") except:…

VIEW QUESTION
Back To Top
Search