8

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?

jnns
  • 5,148
  • 4
  • 47
  • 74
Mr A
  • 1,345
  • 4
  • 22
  • 51

1 Answers1

15

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.)

CBroe
  • 91,630
  • 14
  • 92
  • 150
  • This question has some code examples on how to subscribe and unsubscribe http://stackoverflow.com/questions/36443766/how-to-unsubscribe-an-app-from-a-page-for-facebook-webhook-lead-ad – Michael Khalili Nov 10 '16 at 17:45