通过Google People API的性别 [英] Gender via Google People API

查看:150
本文介绍了通过Google People API的性别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用Google People API时,我无法通过 https://获取有关性别的信息people.googleapis.com/v1/people/me 和正确的access_token(这是正确的,因为它会影响昵称和语言环境等信息的显示).

Using Google People API, I'm having problems getting information about gender via https://people.googleapis.com/v1/people/me and correct access_token (it is correct because it influences whether information like nickname and locale appear).

我要查询范围个人资料电子邮件openid".

I am asking for scope "profile email openid".

我可以确定性别,但仅适用于将信息公开的用户,而不适用于那些将其填充为私人信息的用户,这与要求提供私人档案信息的目的相违背.

I can get a gender, but only for users who made that information public, but not from those who do have it filled, but set as private, which kind of defeats the purpose of asking for private profile information.

是否可以通过Google API和范围的任意组合来获取私人性别?

Is there a way to get private gender via any combination of Google API and scope?

谢谢

推荐答案

对不起,没有返回私有性别信息的范围.

Sorry, there are no scopes that return private gender information.

这篇关于通过Google People API的性别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆