Does Facebook ask for a token?

advertisements

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 :-)


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?