I want to download tweets of two users at the same time. So far I' ve downloaded tweets of one user. Here is some code.
tweetsL = []
try:
user_timeline = twitter.get_user_timeline(screen_name= 'PrimeministerGR', count=100, tweet_mode = 'extended')
except:
print("Error getting tweets:")
print(len(user_timeline) , "tweets")
# We add the text of the tweet in the list we create
for tweet in user_timeline:
tweetsL.append(tweet)