Python function that uses the Tweepy package in order to send a thread of tweets.
- A Twitter Developer Account in order to get Twitter API keys.
- tweepy python package installed.
pip install tweepy
See the docs: python-dotenv
API_KEY = "YOUR_KEY_HERE"
API_SECRET = "YOUR_KEY_HERE"
API_ACCESS_TOKEN = "YOUR_KEY_HERE"
API_ACCESS_SECRET = "YOUR_KEY_HERE"
TWITTER_ACCOUNT = "YOUR_@TWITTER_HERE"
Place tweepythread.py in working directory
from tweepythread import tweepyThread
tweepyThread(user, list, ckey, csecret, atoken, asecret)