Facebook Subscription APIs - Push notifications for comments on pages?

The REST documentation subscription API for Facebook looks like they will let me receive push notifications when something changes:

https://developers.facebook.com/docs/reference/api/subscription/

According to the documentation on the page, I can subscribe to the connection to the channel of the page object:

https://developers.facebook.com/docs/reference/api/page/ (no asterisk).

But I don’t understand which pages will send me notifications and what happens in general.

When I tried to implement this with a test subscription for a custom wall and page feed, I received notifications when something was changed on the user's wall, but not for the page.

Do you have experience with the Facebook Subscription API?

+3
source share
1 answer

See here: https://developers.facebook.com/docs/graph-api/real-time-updates/v2.2

I can’t say why you didn’t receive a message on the page depending on your information, but if you received real-time updates, you will see that the request will have a content type application/jsonand the body will contain pageidwhich has changed.

So this is really not a problem that you cannot determine which page has changed.

0
source

All Articles