ericheim
(Eric Heim)
April 7, 2022, 6:07pm
1
Hi,
I am trying to set up a webhook in Celigo to listen for events in Facebook. I am using this documentation from Facebook to figure out the setup: https://developers.facebook.com/docs/graph-api/webhooks/getting-started
When trying to complete the verification in Facebook, I keep getting an error message related to the hub.challenge:
The URL couldn't be validated. Response does not match challenge, expected value="688416268", received=""
Does anyone know how to configure the "Edit Listener" settings in a Celigo workflow to complete this verification?
Here is the sample verification request that Facebook provides in the documentation linked above:
GET https://www.your-clever-domain-name.com/webhooks?
hub.mode=subscribe&
hub.challenge=1158201444&
hub.verify_token=meatyhamhock
Hi @ericheim ,
We're currently researching an answer to your post, but in the meantime, feel free to bring this question to an office hours session or open a support ticket .
Tom
Hi All
There was a solution for this post?
Best regards
Hi @ericheim
Facebook webhook verification is already supported in Celigo. To complete the verification successfully, you just need to configure the challenge response in the "Configure response for challenge requests" section within the webhook Listener.
Make sure to set the following values:
HTTP response headers: Content-Type: application/json
HTTP response body: {{{queryParams.[hub.challenge]}}}
Override HTTP response status code:
Override media type:
With this configuration, the response will include the hub.challenge
value, allowing Facebook to validate the webhook successfully.
Best regards.