I just started using tweepy library to connect with streaming api of twitter. I encountered both on_status() and on_data() methods of the StreamListener class. What is the difference? Total noob here!
What is the difference between on_data and on_status in the tweepy library?
8.3k Views Asked by sidx At
2
on_data()handles:whereas,
on_status()just handles statuses.source: https://github.com/tweepy/tweepy/blob/78d2883a922fa5232e8cdfab0c272c24b8ce37c4/tweepy/streaming.py