I'm implementing the WhatsApp Cloud API, one of the steps to do it it's subscribe to webhooks and verify them using three parameters: hub.mode, hub.challenge and hub.verify_token.
We have tried sending webhook tests from several sources and tools to send petitions to the API and we have also sent messages to the WhatsApp account that is being handled by the API, and in none of these tests the Hub parameters are appearing. As it's shown in the image, we are expecting the parameters are shown in a Get array.
This is how the log is looking in my Callback URL
array (
)POST
GETarray (
This is how the log should look
array (
)POST
GETarray (
'hub_mode' => 'subscribe',
'hub_challenge' => '<challenge number>',
'hub_verify_token' => '<token>',
)
The query string and the request URI should show the hub parameters too, but it doesn't.
What are we missing?