Access Facebook App Permission Page Public Content Access - facebook

There is many people talking about the ability to leave your app in dev mode and test this endpoint. Without requirement of having the "Page Public Content Access" approved. Well, after trying to test this inside the Graph Explorer tool - either I am slow, or that's complete trash information.
Has anyone has success with the permission inside the tool or ? if so, what am i messing here.
Authorized the application in the explorer and get this
{
"error": {
"message": "(#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.",
"type": "OAuthException",
"code": 10,
"fbtrace_id": "BqoZbQ2W2nV"
}
}
I've spent a few hours on this - really growing more grey hair over it.
My thinking, people are not understanding the printed text and just post on here, without really looking into it.
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.
In which case, I've submitted the permission for review and 2 times have been denied. We don't want to build out a complete application without the permissions working. How would you do that anyways, how would you test something and show it working for the review guys - without it actually working.
The video which was submitted showed us trying to use explorer without success. That's really all I want to do - test it in explorer and see if we can achieve the results and than build it into our application.
A few people have mentioned to use manage_pages in order to test it, which actually doesn't work. This permission is allowing us to see PUBLIC CONTENT on a page and search for pages, groups, etc. With manage_pages you can not do that - how could that be the way to test it.
This is what I am trying to use
https://graph.facebook.com/v3.1/pages/search?q=XXXX

Related

Facebook and Instagram public data API

I want to build a dashboard that enables any company to track the social media activity of its competitors.
For example.. let's say you are a small business owner. You would be able to add the 'facebook/instagram page id's' of your 4-5 competitors within the app. The app would retrieve the historical data of your competitors.. and enable you to interactively explore what they are doing. How often they are posting, at the time of the day, what is liked/not liked, etc.
Problem is: Since Cambridge Analytica, Facebook requires app review to allow access to public page data. But how do I show the app.. when I don't have the data to build it?
Does anyone have any remote idea whether the thing that I am trying to build is generally within that would be considered permissible by Facebook?
You can still make your dashboard which will show your Facebook activity.
To get the Facebook page ID of 4-5 competitors. The competitors have to use your app and allow permission to your app for accessing public features.
You have to own a Facebook page. Get OAuth key. For every request to Facebook you will be using this Key. In case of mischievous activity your OAuth key will be blocked.
What you are trying to do is not possible these days and neither permissible by Facebook.
You can build your App already and just use your own Pages for testing - with a Page Token of those Pages. Send Facebook a video how you are using the data in the review process. I have recently got Page Public Content Access approved for that specific use case. Facebook just wants to see how you will use the public content, the App does not need to be 100% finished.
What´s allowed and what´s not allowed: https://developers.facebook.com/docs/apps/review/feature#reference-PAGES_ACCESS

Facebook App Review: Take a screencase from a server-only app?

I use the Facebook API and an app to automatically post to a Facebook page up to three times a day. These public posts contain recent changes from my CMS, and the "app backend" is written in PHP.
Currently, Facebook asks all app developers to submit their apps for a review. This looks pretty difficult to me, as the data to be submitted should contain a screencast. But there is nothing I could show in such a screencast, as there is only sourcecode creating new posts...
Facebook pages API: "Page Public Content Access" review screencast was an interesting starting point: just don't use a public app, but keep it in development mode. I changed the mode from live to dev, and all posts that were created in the last months vanished from my page. I could see them, logged in with my own account, but neither logged out nor using another account :( Is there anything I forgot to change?
Just do a screencast of how the server is posting after some event or timeout.
Can you trigger some event on your server and show that new post was created after that? This should be enough for review.
After several months of trying, finally manage to pass this review for manage_pages and publish_pages permissions. Important keyword is "server to server application".
Here is what I wrote for both permissions:
You can refer to this page for more details:
https://developers.facebook.com/docs/apps/review/server-to-server-apps/sample-submission

How to access my business’ Facebook Page Feed from my web server using Graph API?

I have a pre-existing Facebook Business Page set up on Facebook and I just registered my website (App) on the Facebook Developers Console using the same Business name as the Facebook Page name. I am an admin on both the App account and the Business Page. My app is also on the list of “subscribed apps” for the Page. Even still, Facebook doesn’t see the app and page as the same business, and I still don’t see my page in the “App Pages” section of my App Settings like it says I should.
Ultimately, my goal is to be able to establish a communication between my web server and my Facebook Page in order to READ posts on my page using the Graph API. However, when I try accessing the page node or any of its edges using my App Token (via Graph Explorer OR my web server), it’s telling me I need an App review before I can read the public data on my own Facebook page.
My guess is that this is happening because there is still no established connection between the app and the page... and if that’s the case, what more can I do to make the connection? Anyone have any experience with this?
FYI: I’ve read many other posts on this issue and most of them are outdated or don’t give any clear answers to the question. I feel this question is valid due to the privacy changes introduced by Facebook last March.
You need to have your App reviewed, older apps work till August 2018. But as now every review takes a month and there is high change that you are not approved for "Page Public Content Access". Reason for approve denial is "it doesn't appear to enhance the user experience". And after that, there is not much you can do. You can make another app and submit it to the review, with info that might pass the review process.
As for now, i do not know the correct phrases to use in review-form, but if some-one gets "Page Public Content Access"-approval, please let us know how.

Facebook business manager to use Page API

For those that will read it, thank you very much (and special thanks for helpers).
We're having some trouble with Facebook, and we're not sure if it's related to Facebook latest scandals.
Facebook forums are not the most responsive, so I thought to give it a shot here.
The goal is to read posts from our customers pages.
We thought that to create Business Manager with system user, ask our customers to add us as partners to their pages, generates page tokens and use the {page_id}/feed API.
In order to test this flow, we did the next steps:
created BM
created Facebook Page (via the BM)
created an app
associated the app with the BM.
in BM settings page - created System User.
assigned the system user with the created page (admin role)
generated token (related to the app created).
using Graph API, called to me/accounts (with the access token given at 7).
I verified that the page id was in the response, and took the access_token from the response.
tried to call {page_id}/feed (or to /me).
This is the error I received:
{
"error": {
"message": "(#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.",
"type": "OAuthException",
"code": 10,
"fbtrace_id": "BV/3aru6KTJ"
}
}
Thanks for anybody that helps.
seems you have go far:
take a look from the image and put some details to be approved after that you have to submit it. approval will take time just be patient.
App Review-> Add Items-> Page Content Access.. hopefully the rest instruction from developer.facebook.com will be understandable.
for those newbies just take a look how to start an app.
https://developers.facebook.com/docs/apps/register

Unable to add a facebook app that allows publishing from Wordpress

I am trying to create a facebook app that will allow me to publish from my Wordpress site. I have been through much of the facebook help docs (which are out of date making it somewhat more difficult) and a bunch of external how to's as well.
I have been inching my way towards completion but I am stuck and I am unsure where to turn.
I have created the app and linked it to my wordpress site. From the site users can like and share, I also have a number of the widgets (like the page, other recommendations) working.
I would now like to publish articles to my facebook page and this is where I am having trouble.
I have added the publish action, article object combination and I would like to submit it for approval but it is ineligible because:
You, or this app's Open Graph Test User, must have published this action at least once.
Seems simple enough. I followed the instructions under "Publish your first Open Graph action" on this page: https://developers.facebook.com/docs/wordpress/open-graph-action/
When I submit I get the following error:
{
"error": {
"message": "(#3506) The action type news:Publish does not exist or is not approved, so app XXXXXXXXXXXXXXXX can only publish to administrators, developers, and testers of the app. User XXXXXXXXXXXXXXX is not one of those roles.",
"type": "OAuthException",
"code": 3506
}
}
My account is the only account attached to the application and has administrator role. Where am I going wrong?
I finally found the answer to my own question, I had not selected the correct Application at the top of the Graph API Explorer page. Changing that and generating a new access token got it working.