0
Following the documentation, I was able to create a code that extracts tweets by tag, and another that extracts tweets from some user. But I’m having trouble extracting tweets from someone by tag.
resultado = [[tweet.id_str, tweet.created_at,tweet.coordinates,tweet.geo,tweet.truncated,tweet.text] for tweet in alltweets if tweet.text == 'palavra_chave']
The code only downloads tweets that contain only the keyword. For example, the keyword is 'Today'. If the tweet is 'Today was a good day', it does not identify.