python - What is the difference between on_data and on_status in the tweepy library? -
i started using tweepy library connect streaming api of twitter. encountered both on_status() , on_data() methods of streamlistener class. difference? total noob here!
on_data() handles:
- replies statuses
- deletes
- events
- direct messages
- friends
- limits, disconnects , warnings
whereas, on_status() handles statuses.
source: https://github.com/tweepy/tweepy/blob/78d2883a922fa5232e8cdfab0c272c24b8ce37c4/tweepy/streaming.py
Comments
Post a Comment