如何获取Google登录用户生日和性别目标c?

时间:2018-01-12 06:48:21

标签: ios objective-c gidsignin

我们如何让谷歌在目标c中登录用户年龄和genger。我公开了该用户的个人资料信息。 代码:

NSString *userId = user.userID;                  // For client-side use only!
NSString *idToken = user.authentication.idToken; // Safe to send to the server
NSString *fullName = user.profile.name;
NSString *givenName = user.profile.givenName;
NSString *familyName = user.profile.familyName;
NSString *email = user.profile.email;

我检查了下面的链接,但找不到任何解决方案。

https://developers.google.com/+/web/api/rest/latest/people/get

Retrieving date of birth and marital status with Google OAuth API

0 个答案:

没有答案
相关问题