Skip to content
This repository has been archived by the owner on Jul 5, 2023. It is now read-only.

OAuth Exception when accessing data from owned Pages #8

Closed
loganSims opened this issue Jun 7, 2018 · 1 comment
Closed

OAuth Exception when accessing data from owned Pages #8

loganSims opened this issue Jun 7, 2018 · 1 comment
Labels

Comments

@loganSims
Copy link
Contributor

loganSims commented Jun 7, 2018

With changes to Facebook's privacy strategy, apps that want to use the Page Public Content Access
feature need to be submitted for review by Facebook.

However...

While testing and before submitting for review, your app may only access content
that is available on a Page that you, as an app admin, developer, or tester, administer.

Unfortunately, when attempting to access data from a page you own, the following error is returned:

(#10) To use 'Page Public Content Access', your use of this endpoint must be reviewed 
and approved by Facebook. To submit this 'Page Public Content Access' feature for review 
please read our documentation on reviewable features: 
https://developers.facebook.com/docs/apps/review.

This seems to be a know issue and Facebook may be working on a fix.

@loganSims loganSims added the bug label Jun 7, 2018
@loganSims
Copy link
Contributor Author

This has been fixed.

However...

To get comment author and reactions info you will need to use a Page Access token from a user who has admin rights to the page. You can get a token by setting up a system user.

Be aware of the following restriction:

Devmode Apps — Apps in Devmode are now rate-limited to 200 calls per hour, per page-app pair, and can only access Users who have a role on the app (admin, developer, or tester).

https://developers.facebook.com/docs/graph-api/changelog/breaking-changes

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant