Reputation: 47
I'm trying to get page data as the Administrator of my Facebook App but I'm getting error #10: To use 'Page Public Content Access', your use of this endpoint must be reviewed and approved by Facebook.
I thought that as an Administrator I would have access for testing purposes? Is my request incorrect? I've made this as simple as possible by using JavaScript, so no server side code at all.
My AppID and AppSecret are as defined on the Settings/Basic page of https://developers.facebook.com
Please advise:
var getAccessTokenURL = 'https://graph.facebook.com/oauth/access_token?type=client_cred&client_id='+appID+'&client_secret='+appSecret;
httpGetAsync(getAccessTokenURL, function(text) {
var json = jQuery.parseJSON(text);
var accessToken = json.access_token;
var url = 'https://graph.facebook.com/' + pageID + '/feed?access_token=' + accessToken;
httpGetAsync(url, function(text) {console.log(text);})
})
My response is:
{
"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
}
}
Apologies if this is obviously or has already been asked, I've had a look but cannot find clear documentation about this
Thanks
Upvotes: 0
Views: 370
Reputation: 47
To get api access to public published page data:
Where APP_ID and APP_SECRET are on the Facebook app under Settings->Basic
Upvotes: 1
Reputation: 73984
You need to use a Page Token, and test with a Page you manage.
Links:
Upvotes: 1