更新时间:2023-12-05 14:00:22
两个提供程序都公开一个唯一的用户ID.
Both providers expose a unique user ID.
Google 文档:
[...],您可以从以下位置安全地检索和使用用户的唯一Google ID sub 声明.
要检索Facebook user_id,请致电:
To retrieve the Facebook user_id, make a call to:
https://graph.facebook.com/me?fields=id&access_token=xxx