相关疑难解决方法(0)

无法使用 - auth/user.phonenumbers.read 范围从用户的谷歌个人资料中读取电话号码

根据Google People API的文档,我正在使用配置文件范围 - https://www.googleapis.com/auth/user.phonenumbers.readPersonFields=phoneNumbers仅在其 Google 配置文件中读取经过身份验证的用户的电话号码(没有来自联系人列表)。我正在使用 API 密钥和 oAuth 访问令牌来授权请求​​。google people API 不会单独获取与上述范围的个人资料关联的电话号码。除了上述范围之外,还添加了整个联系人列表读取权限的范围,即www.googleapis.com/auth/contacts.readonly正确返回个人资料中的电话号码. 有没有办法从他/她的个人资料中获取用户的电话号码使用 user.phonenumbers.read 范围?

google-api scopes google-oauth google-people-api

5
推荐指数
1
解决办法
1541
查看次数