Home > Software design >  Use Facebook Graph API to disconnect a Facebook Page from a Facebook App
Use Facebook Graph API to disconnect a Facebook Page from a Facebook App

Time:08-11

I have a website with a Facebook App that allows Facebook users to connect their Facebook pages to the App so that the website can use that Page in different ways.

But I cannot find a way to disconnect the Facebook Page from the App using a Facebook API (probably the Graph API?). The problem is that Facebook keeps sending webhook events as long as the Page is connected to the app.

Is there such a call?

CodePudding user response:

That's done via the subscribed_apps edge on the page. Same as you can add a subscription via this, you can also remove it again.

https://developers.facebook.com/docs/graph-api/reference/page/subscribed_apps/#Deleting

  • Related