我们如何在目标 c 中让谷歌登录用户年龄和年龄。我公开了该用户的个人资料信息。代码:
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