How to fetch Google logged in user birthday and gender objective c?

616 Views Asked by At

How can we get google logged in user age and genger in objective c. I make that user's profile information public. code:

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;

I checked below links but not find any solution.

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

Retrieving date of birth and marital status with Google OAuth API

0

There are 0 best solutions below