facebook - 旧的 Facebook离线访问 token 是否可以在离线访问已弃用的情况下继续使用?

标签 facebook deprecated access-token

我已使用应用程序用户的offline_access 存储了访问 token 。我准备获取 token 并将其延长 60 天,以便我的应用程序可以使用offline_access 弃用功能。但我需要知道旧 token 会发生什么。

启用offline_access弃用后,旧存储的 token 会在两小时、60天后过期还是永远不会过期(直到用户取消对应用程序的授权等)?

最佳答案

根据documentation covering offline_access permission removal授予您 offline_access 权限的用户的 access_token 将保持与以前相同:

If you have been using offline_access

For those developers who were asking for the offline_access permissions and for those users that granted that permission, existing access_tokens will continue to have no expiration time.

For any user that has to login or re-login to your app, they will no longer see the permission for offline_access in the Auth Dialog (because the migration is enabled). Your app should continue to function as before even without getting the offline_access, but you should consider using the new endpoint to extend the expiration time of existing access_tokens.

关于facebook - 旧的 Facebook离线访问 token 是否可以在离线访问已弃用的情况下继续使用?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10010152/

相关文章:

oauth - 时钟偏差和 token

javascript - 如何使用 OAuth 存储和发送带有 API 请求的授权 token ?

Facebook 用缩略图分享视频

ios - 如果添加图像,Facebook 共享图形对象不起作用

java - 如何弃用内部接口(interface)

xamarin.ios - iOS8:backgroundSessionConfiguration 已弃用

android - Facebook - 像浏览器一样在 webview 中显示 facebook 用户 Feed

ios - -canOpenURL : failed for URL: "fbauth2:/" - error: "(null)" for ios 9 (swift)

android - `shouldOverrideUrlLoading` 真的被弃用了吗?我可以用什么代替?

Node.js - 如何使用访问/身份验证 token ?