最新消息:20210816 当前crifan.com域名已被污染,为防止失联,请关注(页面右下角的)公众号

【整理】facebook的授权登录后得到的用户的id

工作和技术 crifan 11890浏览 0评论

facebook openid

概览 – Facebook 登录

-》

参考文档 – Facebook 登录

-》

Graph API User

Field介绍
id
numeric string
The id of this person’s user account. This ID is unique to each app and cannot be used across different apps. Our upgrade guide provides more information about app-specific IDs

-》

Upgrade Guide – 应用开发

authentication – Is Facebook an OpenID provider? – Stack Overflow

10分鐘理解OAuth和facebook登入原理 | 思考,奮鬥,救自己

Facebook Connect, OAuth and OpenID: The differences and the future

Facebook OpenID Provider

OpenID – Wikipedia, the free encyclopedia

【总结】

Facebook的用户去通过OAuth去登录或授权后,得到的id,不是之前以为的,通用的openid

而是,针对于每个app,Facebook生成的特定的user的id

此id,无法跨app使用

不过要知道的是:

Facebook不是OpenID的提供者

但是OpenID和OAuth不是一个东西

Facebook支持OAuth登录和授权

【整理】OpenID vs OAuth

转载请注明:在路上 » 【整理】facebook的授权登录后得到的用户的id

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
87 queries in 0.178 seconds, using 22.09MB memory