我可以获得不会过期的 Facebook 授权吗?
我希望我网站的用户能够在其个人资料中授权 Facebook 访问权限,以便我们的服务器可以持续使用该授权。我知道如何进行授权部分,但我得到的是一个最终会过期的访问密钥。这将要求用户定期重新登录并重新授权我们。
有没有一种方法可以让用户授予一次授权,从而给我一个不会过期的访问密钥?
I want the users of my website to be able to authorize Facebook access in their profiles, such that our servers can continuously use that authorization. I know how to do the authorization part, but what I get back is an access key that will eventually expire. This would require the user to log back in and re-authorize us periodically.
Is there a way that the user can grant authorization once, giving me an access key that won't expire?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
更新
正如评论之一所指出的,
offline_access
现已禁用。理解 Facebook 的变化是一个很好的帖子。 https://developers.facebook.com/roadmap/offline-access-removal/旧答案
http://developers.facebook.com/docs/authentication/
Update
The
offline_access
is now disabled as pointed out in one of the comments. To understand the changes Facebook as a nice post. https://developers.facebook.com/roadmap/offline-access-removal/Old Answer
http://developers.facebook.com/docs/authentication/