Webhook
1

Hello, I have a problem with the use of the webhook for the Messenger and WhatsApp messaging platforms that I want to expose to see, if I can have a solution.

Indeed I code in PHP with its Laravel framework, so I made a script in Laravel which allows me to connect my Laravel application with the meta platform. To generate an https link from my Laravel application, I used ngrok to generate the url in https and add the route to my PHP script to the link that I provided in the configuration of Messenger and also of WhatsApp for the webhook. I received a 200 response which means the connection was successful. On the other hand, when I write to the page that I added to the application created in my meta developer account I do not receive any event telling me that a message was sent, not even an error. I have had the problem for several days without a solution and I am submitting it so that people of good will can give me a helping hand. I use version 20.0 of Graph API.

Cedrick
Asked on Tuesday