I'm using Lead Ads and want to integrate them with my application. There is quite nice documentation for that, but I still don't know how to test webhooks. When I fill the form from the Preview Ad
feature from Ads Manager
, it doesn't seem to fire the webhook. Same happens with the testing feature, which is a call to /<APP_ID>/subscriptions_sample
edge. According to docs, it should do the following:
This will deploy a stubbed payload similar to the one that the realtime updates uses.
But my callback URL is never opened with this, even though the response is:
{
"success": true
}
How can I force this webhook to happen?
It's a bit tricky, but you can test in two ways:
a) is your app subscribed to the page
b) is your webhook URL correct
c) are there any errors in your webhook URL
d) are you using a valid token
e) ...
Notice that tokens expire so you should change your token for a long-lived token which will be good for 60 days. I hope this will help you since it's not quite so easy to set up.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.