facebookfacebook-graph-apifacebook-javascript-sdk

Facebook graph api integration permissions needed for pages_read_engagement while using a test app


I am not sure what I have done wrong, I have made a test app from a live app that has a review going for permission to get access to pages_read_engagement I then created a test app since the current one is live and From what I understood it would inherit our current permissions and pages_read_engagement from the review process.

I also created a test user in the test app that have permission to pages_read_engagement

I get the following error when I try to show posts from the current test user in the test app:

message: "(#10) Object does not exist, cannot be loaded due to missing permission or reviewable feature, or does not support this operation. This endpoint requires the 'pages_read_engagement' permission or the 'Page Public Content Access' feature or the 'Page Public Metadata Access' feature

I get the same if I log in with my own account who is administrator for the apps

If I put my current app into developer mode I can get access, but I cannot as it is used for instagram so customers would not have access to their instagram data anymore.

So my question is, how do I get the test user in the test app who got access to pages_read_engagement to actually work so I and facebook can test it?

enter image description here enter image description here enter image description here


Solution

  • so as @CBroe wrote, if you use a test user and have set the correct permissions in the test app, then you need to create a page for this to work, you cannot test it with any other pages.