How to get Facebook random page status via Graph API

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?

+3
source share
1 answer

There are several access tokens on Facebook. The access token you receive is the application access token, which is more limited than the user's access token.

" ": https://developers.facebook.com/docs/authentication/permissions/

+2

All Articles