We have recently gone through the facebook app approval process, and have been granted permissions for "Page Public Content Access"
We would like to retrieve ratings and reviews for businesses via the graph api. The documentation for Page Public Content Access states that "Readable data includes business metadata, public comments, posts, and reviews" (https://developers.facebook.com/docs/apps/review/feature/)
We are able to retrieve the overall_star_rating and rating_count fields using our app token via {page-id}/?fields=overall_star_rating,rating_count, however when we attempt to access "ratings" and its subfields such as reviewer, reviewer text etc via {page-id}/?fields=ratings{review_text,reviewer} we receive the below message:
(#210) A page access token is required to request this resource.
From the above blurb regarding Page Public Content Access, it sounds like we should be able to access "reviews", not just the overall review score. Are we doing something wrong, or is this a limitation of the permissions we have been granted?
We would like to avoid requiring users to 'login via facebook' and approve access, just to be able to read review data. We hoped that the Page Public Content Access permission would allow us to read all review data.
Any assistance would be greatly appreciated
Related
So my company needs to fetch Post from a public given page on facebook (and Hashtags on Instagram if possible) but to do that we need Page Public Content Access on the facebook API. And it is a pain to obtain that permission (it takes way too long).
So i was searching to see if there is an App that can provide that without any verification, we just pay and we are good to go. But i couldn't find any. I just found some "Aggregator" like https://curator.io/. The App that was the closest to my demand was https://taggbox.com/ because it has an API and you can fetch public post with it but it's not its main role, and their API is really small.
So i was wondering if any of you know an Api (it can be a paying app) that would provide posts from public pages on facebook (And it would be great if that API also had Hashtags and accounts on Instagram).
We just don't want to deal with Facebook permission and verification system.
Thanks !
I have a list of various Facebook links of videos, photos, statuses, etc. posted by users with public profiles or public pages. I want to check if the links are still active and the content is still available (i.e. video wasn't taken down or deleted). Facebook does not give a 404 error so I can't send a simple GET request and there are many variations of "content not found" pages that I don't think I can base it on the page returned.
Would it require the Facebook Graph API to do this? What permissions would be required? From my research, it looks like significant permissions would be required for users to grant to the app. Is there any other way to query public Facebook data without creating an "app"?
for years I was using Facebook API to fetch public Page post data using Page Public Content Access for my scientific school project, but because of new regulations, now it requires Business verification.
This confuses me, because the data is not used for any business purposes, this data is not sensitive(since it's available for general public) and yet I need to verify it for business use?
Maybe I am missing something and I don't need the permission for PPCA and should use something else?
The project used to visit a public public FB page and save some of the data from posts to my database.That's it.
Yes, Facebook has closed the "free-content-flow". You must keep in mind that even though the content that you are requesting from the GRAPH API is publicly available to anyone on the internet, BUT that does not mean that Facebook has to "open" their API for anyone to collect data from them so easily.
After I submitted my app for review (my review was fully loaded with a screencast and had all the criteria as required by Facebook) - this is what I got back from them. (See attachment)
FACEBOOK'S RESPONSE:
Not Approved: Page Public Content Access
App Verification feedback
We were unable to verify a valid use case for the requested permission(s) from the information you provided. Please ensure your use case is valid and that you are correctly utilizing the permission(s) in the app.
After review, your app does not require Page Public Content Access for its intended function demonstrated in the screencast. (But it does)
The only valid use case for Page Public Content Access is to read and analyze insights from other pages where you are not the admin.
Your app's intended functionality can be supported by the Manage_Pages or Read_Insights permissions. For more details on how best to incorporate these permissions, please visit our Permissions Reference.
Thank you.
We are building an app that aggregates events from multiple Facebook pages.
With our app we got through the Facebook App Review process (with fancy screencasts and all) and they granted us the "Page Public Content Access" permission.
I tested it and I can now fetch page information from all pages.
However, the page event api (GET /<page>/events) always returns an empty array now
According to this blog post from Facebook about restricting access to same API's:
apps currently accessing Events and Groups APIs will lose access today. Going forward, access to these APIs will require a formal app review
With the "formal app review" are they not talking about the "Page Public Content Access" permission that you need to request?
I am aware there are multiple questions about accessing page events, but all of them seem about getting the Page Public Content Access permission, which we have received from Facebook.
Facebook recently introduced Instagram Graph API, which allows to fetch data from Instagram page that is connected to your Facebook company page, instagram.com/developers states:
The Instagram Graph API is Now Available to All Developers.
For Non-Business Instagram Accounts please continue to use the existing Instagram API.
So, for example, if my company has account instagram.com/my_first_company, I can only retrieve its feed and no one else.
Using old Instagram API to retrieve public_content permission (access to any feed) is no longer an option too, from old API documetation:
public_content - to read any public profile info and media on a user’s
behalf (applications no longer accepted)
What will happen to existing tools that have public_content permission? (for example, there are tons of plugins for various CMS that allow to display recent Instagram photos)
Is there any valid way to access public_content (access to any feed) right now (besides fetching HTML pages of Instagram website)?
Are there any plans to enable Graph API for non-business customers, of so when?
UPD. There seem to be ?__a=1 endpoint that allows to get access to recent photos of any public feed without any tokens. But it's not official and no one knows when/if Instagram will close it. If you do - please let me know.
UPD 2. Instagram removed ?__a=1 endpoint, not sure for how long, probably forever. Currently the only way to access instagram feed is to scrap instagram.com website, which is a horror.
Prerequisite: You first need the business Instagram account to be linked with FB Page. https://help.instagram.com/356902681064399 - That one can do from the profile page of Instagram account.
Get the Instagram business account id:
graph.facebook.com/v2.8/<fbPageId>?fields=instagram_business_account. (the fbPageId is the page id of the facebook page the account is linked)
To fetch instagram media feed: graph.facebook.com/v2.8/<igBusinessId>/media to fetch the media feed of the Instagram account. (the igBusinessId is the id returned in above linked instagram_business_account) - This is still owned media as per the page access_token. Not any other user's feed.
All other endpoints (such as comments moderation, detailed insights API) mentioned here works on the business media list returned on above call.
Please note:
This still does not allow to fetch un-authenticated user's Instagram feed. That is not possible via API now. There is no valid way via API to get to public_content scope. There can be few Instagram Marketing partners for which this is enabled. But, in general the scope is deprecated now!
Currently, for FB graph API to work we need linked business page to Instagram account. As above apis uses page tokens.
You can get information about any IG business account using your FB access_token using the business_discovery API as given here.
You must have an IG business account to read other users data like user_info or media details using the id of your IG business account as a node.
Ex:
GET graph.facebook.com/[YOUR-IG-BUSINESS-ACCOUNT-ID]?fields=business_discovery.username(USERNAME){media{caption,media_url,media_type,like_count,comments_count,id}}