0

I removed the offline_access permissions, revoked the offline_access permissions, and set my app as native. Now instead of getting the 2 hs token, I get a 24 hs token, but is supposed to give a 60 day token, someone knows what's happening here?

Already tried:

https://graph.facebook.com/oauth/access_token?client_id=$APP_ID&client_secret=$APP_SECRET&grant_type=fb_exchange_token&fb_exchange_token=$TOKEN

And still getting 24 hs token

gurbieta
  • 866
  • 1
  • 8
  • 22

2 Answers2

1

Facebook 60 day access token and Deprecated Offline_Access

According to this post, the (deprecate) offline access setting has to be on.

Community
  • 1
  • 1
Jonathan
  • 2,968
  • 3
  • 24
  • 36
0

It seems the applications created before the new policy will use long lived tokens until the definitive rollout, any new application created after they announced the new token policy will expire in the expected time

gurbieta
  • 866
  • 1
  • 8
  • 22