Since the offline_access
Permission is deprecated in Facebook's Authentication flow, we have problem geting the so called long lived access tokens without that permission.
In Facebook's document about the deprecation it says, that server side OAuth generated access tokens will be long lived, but they are not.
Am I missing something? Some setting in app settings? Some special code I need to use to extend expiration time of access tokens? As I understand the documentation, for server side authentication, the access token wich can be accessed by getAccessToken()
method of PHP SDK when the user is logged in is long lived.
Should you need an access token that NEVER expires for a PAGE, see my answer to a similar question here
From the developers page: