Wednesday, 15 June 2011

php - Prolonging the lifespan of a page access token -



php - Prolonging the lifespan of a page access token -

first of all, before marked duplicate. have seen question similar one. none of them seem date new facebook developer layout.

i have followed instructions this.

which has proved successful. apart fact ones page access token changes rapidly(??!).

so went on larn prolonging lifespan of page access token. found nil of use!

i have looked @ method insert app-id, app-secret , 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 returns:

{ "error": { "message": "error validating application. invalid application id.", "type": "oauthexception", "code": 101 } }

does have date methods?

to non-expiring page access tokens, have @ how fetch info facebook page without token expired?

apparently work if 1 uses v1.0 access tokens, v2.0 lifespan 60 days.

php facebook facebook-graph-api

No comments:

Post a Comment