Hi Team,
I did Freshdesk integration with facebook in local.
Here is Callback URL:
http://localhost:10001/event/hook
//ngrok using
https://81189e1080624.ngrok.io/event/hook
Using successfully registered in facebook callback URL.
Need to integrate with facebook in production
What is the callback URL using to register in facebook, when app is deployed in sandbox.
Thank you.
Hi Karuppu Samy,
Webhook URL is unique for an installation, you can register webhook through onAppInstaller and generateTargetUrl. Hope this sample app helps - marketplace-sample-apps/Play-Along/Exercises/fundamentals/level3 at master · freshworks/marketplace-sample-apps · GitHub
Hi @Raghu_Murugesan,
Thanks for your response
This is our localhost to intergate with facebook:
Now iam going to deploy app in our sandbox, facebook need callback URL?
This is our reference:
Thanks.
Hi Karuppu Samy,
We recommend to programmatically register webbooks through the install handler. Please refer below docs for the Facebook webhook registration
https://developers.facebook.com/docs/graph-api/webhooks/getting-started#configure-webhooks-product
https://developers.facebook.com/docs/graph-api/reference/v8.0/app/subscriptions
Hope this helps.
1 Like