First of all, before this is marked as a duplicate. I have seen question similar to this one. But none of them seem up to date with the new facebook developer layout.
I have followed the instructions for this.
Which has proved very successful. Apart from the fact that ones page access token
changes rapidly(??!).
So I then went on to learn about prolonging the lifespan of the page access token
. Which I found nothing of use!
I have looked at this method where you insert your app-id, app-secret and the short lived token:
https://graph.facebook.com/oauth/access_token&grant_type=fb_exchange_token&client_id={app-id}&client_secret={app-secret}&fb_exchange_token={short-lived-token}
but it just returns:
{
"error": {
"message": "Error validating application. Invalid application ID.",
"type": "OAuthException",
"code": 101
}
}
Does anybody have an up to date methods?