Reputation: 1385
I've been searching the net on how to setup the Facebook webhooks to check a particular Facebook page (I'm a content editor of) for certain updates.
I read the docs many times about setting up the callback URL whenever a particular "event" happens on that Facebook page, but I never read a straight answer on how to tell which page I want to monitor in.
I was pointed to the {app-id}/subscriptions
endpoint, but it doesn't seem to be the one I need.
Could someone provide an idea on how this works?
Upvotes: 8
Views: 8759
Reputation: 96226
You need to make a request to /{page_id}/subscribed_apps
to create a subscription for updates from a page.
This call needs a page access token, so you need to request manage_pages
permission first from an admin of the page. (Not sure if “content editor” role is sufficient for that.)
Upvotes: 15