Search code examples
facebook-graph-api

Facebook API - how to get scope pages_manage_metadata


I created a messenger application for my clients. I need to get the scope "pages_manage_metadata" to be able to set webhook for their pages.

But test user can only get these scopes

https://i.sstatic.net/UG6r1.png

I cannot test my application on a test user and his page because the incoming messages are not working. I can not send an approval request and write how to use my application

Please tell me how to implement this function


Solution

  • Test users don’t work well for stuff that is related to pages. They can not interact with any “real” pages, only pages created by the test user account itself.

    Use a real user account, that you add to a role in your app (admin/developer/tester; note that “tester” and “test user” are two different things), and use that account for your testing during development. If you don’t want to interfere with any live pages that user might be an admin of, then create a new page for your testing purposes first.