I want to crawl the fan page comments on the Facebook by using python. I go to the Graph API explorer to get the user token. After I submit the request "fanpage_name ?fields=id,name", I 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.
However, if I sent the request of my id "my_id ?fields=id,name", it can work well. Is the fan page not be crawled now due to privacy problem?
If you own the page, just use a Page Token. If you don´t own the Page, you can use an App Token - User Tokens are for user content.
For Pages you don´t own, you need to get reviewed by Facebook. That´s what the error message tells you.
Related
Is that possible to get page data with app token? When I try to do so it writes:
"(#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."
So I suppose that it possible, but only after review. I have tried to send app to review but it was rejected. So should I try one more time, or it's impossible to get page data with app token?
Once your app was reviewed and approved for Page Public Content Access (which requires Business Verification) you can use an app token to query public page data.
I've created an app with the sole purpose to read /feed endpoint of public a page. Page is created by me and app is in development mode, so according to Facebook API Docs, I'm allowed to get data from this endpoint using App Access Token:
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.
But when I make the request to feed with app access token, I get the following error:
(#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
I'm developing a server side app I can't use an user access token. What I'm missing here?
I can use Facebook login to login as an admin of the Facebook app that represents my website. Then, I can call this endpoint:
"https://graph.facebook.com/comments/?access_token=".$tokens["access_token"]."&ids=".$source
here, $tokens["access_token"] is an access token provided by the Facebook login process and $source is the URL for which I want to get the comments.
Facebook's API response is this:
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.
Initiating the review process for my app in the Facebook developer dashboard, the requirement for obtaining access for this is:
Please give them detailed step-by-step instructions for how to see
this permission the same way people using your app would.
And:
We need to see your app using Page Public Content Access so we can
see that it doesn't violate our policies. Upload a video screencast walkthrough using any method, (even recording with your
phone).
(In both cases, the emphasis is mine.)
I can not show what I can not show. I have no access to this endpoint, so I can not show, in action, my site using this endpoint.
What's more, I am the admin of the Facebook app representing the website for which I want to get access to the comments, and want to access the comments through that, my, account, only; I don't want any regular user account to access the comments for the pages on my website.
So, how do I get programmatic access to the Facebook comments made on pages on my website?
I want to get the fan_count of my own facebook page.
Do do this I send a call to
https://graph.facebook.com/v2.12/?id=SITENAME&fields=fan_count&access_token=APP_ID|APP_SECRET
but I keep getting the following error:
"Page Public Content Access', your use of this endpoint must be reviewed and approved by Facebook."
But I read that it should be possible to get data from my own page without review.
Or am I getting something wrong with the acces token? Should this be something else? Like the page access token?
Any help is appreciated!
I'm developing an ios(6) app that publish on Facebook.
I can publish on my wall, but I cannot publish on my fan page.
Seems that the problem is on the authorization that my facebook app should have on my fan page, but I don't understand where give this authorization!
I've changed the parameter of destination of feed from "me/feed" to /<PAGE_ID>/feed but without results.
You have to get manage_pages permission from user. After permission, you can use /<PAGE_ID>/feed endpoint for post feed to a page that the user administrates.
Verify that you have checked "publish_stream" and "manage pages" permission in "extended_permissions" section.
Use facebook graph api explorer to check your code