Skip to content
Advertisement

How do I get username on tweepy streamer?

I am using Tweepy.StreamingClient to get some tweets but I am not able to get the username even if I add the filters. I am using the v.4.10.1 of Tweepy

JavaScript

Advertisement

Answer

Okay I figure it out!

I’m using on_tweet that only bring the class Tweet. Tweepy on_tweet

Instead I should use on_data that bring all info needed. Tweepy on_data

User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement