如何续订用户Facebook访问令牌? [英] How can I renew a Users Facebook Access Token?

查看:130
本文介绍了如何续订用户Facebook访问令牌?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果用户使用他的Facebook帐户登录我的应用程序,我将获得一个有效期为2个月的访问令牌。但是如果两个月超过,用户再次登录我的应用程序会怎么样?
我会自动获取一个新的2个月访问令牌吗?

If a user loggs into my app with his facebook account I get an access token which is valid for 2 months. But what happens if the two months exceed and the user loggs into my app again? Do I get a new 2 month access token automatically?

推荐答案

您的用户将必须通过正常身份验证

Your user will have to go through the normal authentication process that they did when they first installed the application.

在此过程中,Facebook会检测到应用程序已经安装并刷新访问令牌。

During this process, Facebook will detect that the application has already been installed and refresh the access token.

所以,直接回答你的问题:,你会收到一个新的访问令牌。

So, to directly answer your question: yes, you will receive a new access token.

这篇关于如何续订用户Facebook访问令牌?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆