title: Using Google+ iOS API how to get logged in user's profile details?
body: <p>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.</p>
  
  <p>I tried this,
  <a href="https://stackoverflow.com/questions/13302904/i-have-integrated-google-plus-in-my-ios-app-but-i-am-not-able-to-get-email-id-o">Stackoverflow answer for a similar question</a> but I was unable to get it working. In that sample what exactly is being passed to accessTocken here,</p>
  
  <pre><code>NSString *str =  [NSString stringWithFormat:@"https://www.googleapis.com/oauth2/v1/userinfo?access_token=%@",accessTocken];
  </code></pre>
  
  <p>I've implemented that code in <code>- (void)finishedWithAuth: (GTMOAuth2Authentication *)auth
                     error: (NSError *) error
  { }</code> method. however <code>auth.accessToken</code> returns a null value.</p>
  
  <p>so I can not use auth.accessToken to append that URL. Is there any other way to get this done? </p>