[英]Facebook Login Button - how to authenticate user?
I have added a facebook login button .我添加了一个facebook 登录按钮。
After authenticating I get the following parameters passed via Javascript:验证后,我得到通过 Javascript 传递的以下参数:
"status": "connected",
"session": {
"uid": "...",
"session_key": "...",
"secret": "...",
"expires": 000,
"base_domain": "...",
"access_token": "...",
"sig": "..."
}
I plan to post these to a new page and authenticate to login the user, but unsure which ones I should use as I can't find any documentation for this.我计划将这些发布到新页面并进行身份验证以登录用户,但不确定我应该使用哪些,因为我找不到任何文档。
How can I securely authenticate a user from this information?如何根据这些信息安全地对用户进行身份验证?
Just the access_token
.只是access_token
。 Facebook Graph API is simple enough. Facebook 图 API 够简单。 Just spend some time with it:)只需花一些时间就可以了:)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.