【发布时间】:2016-01-18 23:49:55
【问题描述】:
在 Facebook 中,我可以使用用户 ID 获取用户照片,如下所示:
var info = await AuthenticationManager.GetExternalLoginInfoAsync();string pictureUrl = "https://graph.facebook.com/" + info.Login.ProviderKey + "/picture?type=large";
在谷歌有可能吗?如果可能的话,你能给我一个网址,我可以用ProviderKey获取用户照片吗?
有点像:
string pictureUrl = "https://google.com/" + info.Login.ProviderKey + "/picture?type=large";
谢谢!
【问题讨论】:
标签: c# asp.net-mvc google-oauth