I've managed to successfully log in to google plus from an iPhone app. But how to get logged in user's details? such as profile id, email etc.

I tried this, Stackoverflow answer for a similar question but I was unable to get it working. In that sample what exactly is being passed to accessTocken here,

NSString *str =  [NSString stringWithFormat:@"https://www.googleapis.com/oauth2/v1/userinfo?access_token=%@",accessTocken];

I've implemented that code in - (void)finishedWithAuth: (GTMOAuth2Authentication *)auth error: (NSError *) error { } method. however auth.accessToken returns a null value.

so I can not use auth.accessToken to append that URL. Is there any other way to get this done?

Edit
Report