· 4 years ago · Jul 25, 2021, 05:02 PM
1import tweepy
2
3auth = tweepy.OAuthHandler("CONSUMER KEY HERE", "CONSUMER KEY SECRET HERE")
4auth.set_access_token("ACCESS TOKEN HERE", "ACCESS TOKEN SECRET HERE")
5api = tweepy.API(auth)
6
7#thank mr. @iCrazeiOS for the script.
8
9tweet = input("tweet: ")
10
11api.update_status(status =(tweet))