I am unable to pull Facbook feeds. I have entered facebook settings, but I am receiving:
[error] Facebook\Exceptions\FacebookResponseException: (#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. in Facebook\Exceptions\FacebookResponseException::create() (line 137 of /home/paulius/Web/aei_base/aei/vendor/facebook/graph-sdk/src/Facebook/Exceptions/FacebookResponseException.php).
The Facebook "Details for Page Public Content Access" page states, that:
"While you are testing your app and before you submit it for review, your app can only access content on a Page for which the following is true: The person who holds the admin role for the Page also holds an admin, developer, or tester role on the app. If you want the app to be able to access public content on other Pages, you must submit this feature for review. Once you set your app to live mode, it will not be able to see any Page public content without this feature."
I am the admin of the page, and of the app on the same time but I still receive that error.
Moreover, the connection gets stuck in the loop, and hundreds (if not thousands) of connection attempts are being made during a single cron run.
Also, I found out that removing 'attachments' field does not invoke the above error, but in this case there is no image assigned to the social post.
Let me know if you need any further details.
Comments
Comment #2
jorgik commentedI'm not sure that it's a problem with this module. I mean Facebook connection.
You can try to use this endpoint with your credentials
https://graph.facebook.com/endpoint?key=value&access_token=app_id|app_secret. Do you have any results from this url?
Comment #4
jorgik commentedHere is my result:
- Test page that I've created with permissions to manage from my account https://take.ms/q8ydn
- Request in graph explorer https://developers.facebook.com/tools/explorer https://take.ms/HEOf1
- And here is the post on Drupal site https://take.ms/fcOpy
Also, in current dev version removed an unused try-catch block, so it will prevent stuck in a loop
Comment #5
jorgik commentedComment #6
jorgik commented