I'm trying to stream the real time public feeds using Facebook Web-hook API. Here I'm trying to set up a page subscription in Web-hook console. There is a field called Callback URL. What is this URL about?
I have also tried going through the documentation for Setting up callback URL. but I Couldn't figure out.
https://developers.facebook.com/docs/graph-api/webhooks#setup
Cant the callback URL be SSL localhost? Whenever I try to give a localhost URL i get a error message "Unable to verify provided URL".
Webhooks enable you to be notified when certain events occur in Smartling. For example, you can configure a webhook to notify you when the translations are ready for download. The notification is via by Smartling via an HTTP request, known as a “callback”, sent to the URL you specify in the webhook configuration.
The "Callback URL" is the URL that will be contacted once the user has accepted or rejected the OAuth request. This is set as a parameter of your OAuth request. So you set the URL in your own program, not somewhere in Facebook.
A callback is a function that is passed as a parameter to another function. A webhook is a hook in the web. Typically used to make two distinct systems communicate and typically to go away from polling towards a publisher-subscriber model.
Subscribing to Webhook Topics To add a new webhook subscription on a given topic, provide a callback URL and a verify token, then select the subscription fields you need for the functionality your app will provide. You can only subscribe one URL per webhook topic, but you may use the same URL for multiple topics.
You can forward the request to localhost with the following:
./ngrok http 8445
https://<your_ngrok_io>/webhook
as callback URL.If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With