After obtaining Page Public Content Access, I still can't retrieve public posts and comments from Facebook pages that I am not an admin of using the Graph API.
For instance, using https://graph.facebook.com/v20.0/104699394209550 returns an error, and I can't get the correct data.
I initially thought it was due to the lack of the Page Public Metadata Access permission, but since I already have Page Public Content Access, I can't apply for Page Public Metadata Access anymore.
How can I use the Facebook API to retrieve public information, posts, and comments from pages I am not an admin of?
Here is the error message I'm receiving: { "error": { "message": "(#100) 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. Refer to https://developers.facebook.com/docs/apps/review/login-permissions#manage-pages, https://developers.facebook.com/docs/apps/review/feature#reference-PAGES_ACCESS and https://developers.facebook.com/docs/apps/review/feature#page-public-metadata-access for details.", "type": "OAuthException", "code": 100, "fbtrace_id": "ACRDd78k1czCRtVXF4e7GGi" } }
How you got the public_page_content_access
Amit: By submitting it for review and it's no permission
That ID doesn't seem to exist or is non public.
It's a public page. https://www.facebook.com/104699394209550
same as: https://www.facebook.com/TPPfanpage/
Now it is, it wasn't last week when you posted this thread
I tried this again: https://graph.facebook.com/v20.0/104699394209550 and made sure I was using an application token rather than a user access token, but I still got the same error.
you need to add /Feed to the end of the URL (https://graph.facebo ok.com/v20.0/104699394209550/feed)