I want to configure Facebook webhooks for the application I'm developing.
What I did so far was:
Now, when I'm querying for page subscriptions I get the response:
{
"data": [
{
"object": "page",
"callback_url": "CALLBACK_URL",
"fields": [
"feed"
],
"active": true
}
]
}
which seems to be valid.
What should I do next? How to start listening from feed of a particular page?
Here is the entire configuration for Receiving API Updates in Real Time with Webhooks :
Facebook Page ID
at the very bottom.Facebook App ID
described in the above point.Subscribe you Facebook App to your Facebook Page. To do that open Graph API Explorer.
Make sure you selected your particular application.
Access Token
field.Make POST request to the particular URL:
/YOUR_PAGE_ID/subscribed_apps
That's it! With these steps you should have your server application up, running and listening on all events you declared!