I started to work at a company and I was given the task to use graph API to get a given sites public posts and its reactions and make statistics saved to a database, using nothing personal, only the things everyone can see. I need Public Page Content Access to do so but I must submit it for review which I can't because I need a feature for it which I can't develop because I need PPCA and so on...
However ( if I understood it correctly ) it was written if "My app" has someone who has the role of admin on that given page and is tester/developer/administrator then I can freely access that pages content without submitting. And this parameter checks, but the graph request still gives me this error:
https://graph.facebook.com/v3.2/page-id-with-admin-in-app-project-as-admin-too/feed?access_token=access-token
(#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."
Did I miss something? Or should it be submitted anyways?
Related
Is there a way to test an app implemented Facebook Graph API required Page Public Content Access permission?
I was testing the {page_id}_{post_id} endpoint in Facebook Graph API Explorer to get a post, but got the error message:
This endpoint requires the 'pages_read_engagement' permission or the 'Page Public Content Access' feature. Refer to https://developers.facebook.com/docs/apps/review/login-permissions#manage-pages and https://developers.facebook.com/docs/apps/review/feature#reference-PAGES_ACCESS for details.
This error applies to both random pages and pages that I own. I couldn't use it at all. The app I've planned to do is mostly based on Facebook posts so I may say this is it's the main function, so I just can't have the app reviewed until I can test this endpoint successfully.
What can I do to make it work? Any help would be appreciated!
It turns out I chose the wrong type to create my facebook app. I chose to create a "Business Connected Experiences" app instead of a "Manage Business Integrations" one, so I couldn't fully access to the permissions I need to query on my own page. The former only doesn't provide me the pages_user_read_content and the likes, so it was unable for me to read comments from posts. Besides, I also use an user token instead of a page token (Thanks Lars for pointing this out for me).
So, I just create a new app with the right type and everything turns out well.
Hope this will help someone someday.
I would like to write a backend application that retrieves public posts from Facebook pages that I don't manage, using the graph API. As an example the last 5 posts of the local pub page.
According to the feed documentation, I need to manage the page or request the Page Public Content Access permission.
The Page Public Content Access permission is mentioning the following as allowed usage: 'Provide aggregated, anonymized public content for competitive analysis and benchmarking'.
This sounds very restricted to me.
Is it possible and allowed to let my backend application retrieve public Facebook posts and show them in my mobile application as feature?
Most references on StackOverflow refer to issues that are related to API changes that have been made.
I'm trying to understand what is allowed and what not but it is hard for me to extract this from the documentation on the developers page.
I can not get Facebook Graph Api to retrieve comments from websites that implements facebook commenting system.
I want to provide sentiment feedback statistics for various websites. I wanted to retrieve comments from few websites which are implementing facebook commenting system, I found graph API method /{object-id}/comments
which should return set of comments from specific object-id (which is an url of article consisting set of facebook comments?). I keep getting json response with ID only or an error with "(#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." message. Any feedback on that?
/{object-id}/comments is for objects on Facebook - posts, comments, videos, etc. An external website that uses the comments plugin, doesn’t fall under that to begin with.
What you want, is this here - https://developers.facebook.com/docs/plugins/faqs#faq_1603507626630008:
Can I get comments for a URL via an API?
The comments for every URL can be accessed via the Graph API. Simply make an HTTP GET request to:
https://graph.facebook.com/v2.6/?fields=og_object{comments}&id=<YOUR_URL>&access_token=<YOUR_TOKEN>
I've come on to help a company out at the last minute after a developer bailed, and I'm left with some annoying quirks. I'm also very green when it comes to Facebook API. I don't have all the history, but here are the facts as I know them:
I've got a Facebook application that is used by a single Facebook account. This Facebook application reads public content of various pages (pages of clients, to be more specific) on Facebook (specifically follower and like counts). Periodically on a web server, we get these numbers and update our records for said clients.
Now, this application has executed fine for months. For security reasons, we changed the password for the Facebook account associated with this Facebook app. After recreating the access token, I started getting the following error:
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.
My question is, why now? Why did a password reset cause this? Was this app originally grandfathered into not needing to be approved, and now that a password has been reset the app needs to be reviewed? In looking at the app's permissions it does seem it wasn't approved for this feature.
The reason I'm asking is if there's some other reason why this restriction was suddenly added, I'd like to know. Perhaps it's only applicable for certain scenarios and by updating the access token I inadvertently requested some feature the previous app never did?
Thanks.
There is no way to access public pages you do not own without getting "Page Public Content Access" approved now, this was changed a while ago already. So you are probably right, it may have worked only because of the old Token.
There are two ways to solve this:
Get Page Public Content Access approved by Facebook
Use a Page Token for all the Pages - you can only get it by having a role in the Page
I am stuck in fetching data for a public Facebook page. I want to know which endpoint of graph api should I use to fetch the page data and how. Will anybody please help. I have tried to make a get request for public page content access
you don't need a special endpoint, you just have to use the id of the page when making the call, in the same way you do with a user profile.
but in order to make a call to a public page, you need your app to be reviewed and approved by the Facebook team.