What is the correct way to refresh Facebook OAuth2 access token after it expires?

后端 未结 6 2040
北恋
北恋 2020-12-07 10:55

As I understand it, this is the basic process for new Facebook iframe canvas apps using the OAuth2 API in a nutshell:

  1. Redirect to (or have user click link to)
6条回答
  •  心在旅途
    2020-12-07 11:35

    Facebook has removed the feature of refresh the access token on the "behalf of" mode. The best and easy way is to redirect the user to facebook login page to re-oauth the app. Find facbook doc here

提交回复
热议问题