I am trying to get facebook page statuses. To do this, I need an access token, which I can get:
https://graph.facebook.com/oauth/access_token?
client_id=YOUR_APP_ID&client_secret=YOUR_APP_SECRET&
grant_type=client_credentials
( Found here )
But when I try to access the api schedule manually, with an access token, for example: https://graph.facebook.com/id_of_page/statuses?access_token=my_fresh_access_token , I always get this error:
{
"error": {
"message": "A user access token is required to request this resource.",
"type": "OAuthException",
"code": 102
}
}
Are there different types of access tokens? Or what am I doing wrong?
source
share