I am using the Facebook Graph API and is it possible to get the like account for a Facebook Page by ID?
I have tried the following URL:
https://graph.facebook.com/{page_id}?fields=name&access_token={my_api_access_token}
And I get this error:
{
"error": {
"message": "(#100) Page Public Metadata Access requires either app secret proof or an app token",
"type": "OAuthException",
"code": 100,
"fbtrace_id": "Ac1RaXdc4MG24eJ3UnYkIz7"
}
}
My Facebook account is not associated with this Facebook Page. Is not possible to get the likes for a certain Facebook Page or do I have to be an admin to that Facebook Page?
You would need to submit your app for review of the mentioned feature first.
https://developers.facebook.com/docs/apps/features-reference#page-public-metadata-access
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.