Facebook Permissions page states the following about offline_access:
Enables your application to perform authorized requests on behalf of the user at any time. By default, most access tokens expire after a short time period to ensure applications only make requests on behalf of the user when the are actively using the application. This permission makes the access token returned by our OAuth endpoint long-lived.
Then I read this topic http://developers.facebook.com/docs/authentication/
Tried this:
https://graph.facebook.com/oauth/access_token?
client_id=YOUR_APP_ID&redirect_uri=YOUR_URL&
client_secret=YOUR_APP_SECRET&code=THE_CODE_FROM_ABOVE
This url without offline_access permission responding like this:
access_token=.....&expires=5462
But with offline_access permission responding just access_token. I dont get this, facebook says its long-lived but how long lived?
How can I learn when expires access token with offline_access permission?
On October 3, 2012, the offline_access permission will be removed
– ajreal