Sascha
Sascha

Reputation: 2211

Facebook re-request access-token possible?

I'm playing around with the Facebook-API. For authentication, the user will be sent to an oauth-dialog. After permitting access, the user's browser is redirected to an address specified in the facebook-application settings. We've requested scope=offline_access and response_type=token, so the post-auth redirect contains a valid access-token. So far, so good. Now my question: is it possible without user-interaction to re-request this access-token? (ex: the server did not catch the after-auth request from oauth-dialog)

Thanks for any enlightement :-)

Upvotes: 0

Views: 408

Answers (2)

C3roe
C3roe

Reputation: 96383

offline_access is deprecated and will be removed soon.

See here how you’ll probably have to adapt your application: https://developers.facebook.com/roadmap/offline-access-removal/

Upvotes: 2

avs099
avs099

Reputation: 11227

first of all, offline_access is deprecated - see here for more details: https://developers.facebook.com/roadmap/offline-access-removal/. The most you can get now is 60 days token.

Answering your question - it's not possible to request access token without user interaction - why would we need login dialog then?

Upvotes: 1

Related Questions