This is the endpoint where I generated the webhook URL and received the challenge response and acknowledged it.
https://api.twitter.com/1.1/account_activity/all/test1/webhooks.json?url=https%3A%2F%2Fjoyous-may.glitch.me%2Fwebhooks%2Ftwitter.
Now I am listening to the URL endpoint as shown in below to recieve messages when a user sends to my account.
/**
- Receives DM events
**/
app.post(’/webhooks/twitter’, function(request, response) {
// replace this with your own bot logic
console.log(“Sending a message”);
message_processor.process(request.body)
response.send(“200 Ok”)
})
But I am not able to recieve any message to my web app. Can you help me where I am going wrong.