Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Facebook dataset does not fetch posts

SA-57553

Summary



Unable to retrieve posts from a Facebook page using out-of-the-box functionalities (such as Facebook dataset, a data flow, and text analyzer). Running the data flow or dataset standalone does not display any post.


Error Messages



[http-nio-8080-exec-9] [STANDARD] [ ] [PegaMarketing:07.31] (ent.FacebookPageCrawlerService) ERROR  MarketingAdministrator - Failed to add facebook pages from:  
[http-nio-8080-exec-9] [ STANDARD] [ ] [ PegaMarketing:07.31] (ent.FacebookPageCrawlerService) ERROR MarketingAdministrator - Dataset failed to start 
[http-nio-8080-exec-1] [STANDARD] [ ] [PegaMarketing:07.31] (facebook.client.FacebookHelper) ERROR
MarketingAdministrator - FB page fetch error for page: 211370909467576  com.restfb.exception.FacebookOAuthException: Received Facebook error response of type OAuthException: (#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. (code 10, subcode null)



Steps to Reproduce

  1. Create a Facebook application (using Facebook Developer portal) and Facebook page.
  2.  Generate the Auth-Token for the Facebook page (App to Page). Confirm if the administrator posts are retrieved using the Facebook Graph API Explorer. Additionally, the Facebook Graph API Explorer can fetch the Other users posts (for example, visitor_posts).

Root Cause



The required permissions were missing. They are only available once the application is submitted to Facebook for review.


Resolution



Here's the explanation for the reported behavior:

For this integration, data must be fetched from an account. This is allowed only when content sharing is approved and allowed by Facebook. Since the application is not submitted for review, the system does not have the required permissions to run the data flow and fetch the required results.



 

Published July 23, 2018 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us