I don't getting live instant messages by streaming through 'tweepy' python package

restapi
directmessages
python
webhooks

#1

Hi Fiends,
I am trying to integrate twitter direct messages with python for my odoo ERP software (python language).
I got all other tools like status updates and single direct messages etc.
I am trying to stream direct messages from twitter and I have to give replays instantly.

How can I make it possible by tweepy package. Should I configure webhook for this?
Note: I tested with on_data, on_success, on_direct_message functions. But it doesn’t trigger when a message receives.

Regards,
Nilmar Shereef