google oauth api 2.0 and friends email id

I have integrated google plus api using auth 2.0. And am getting the friends list by using the following statement:

$googlePlus = new Google_Service_Plus($this->client);
$result = $googlePlus->people->listPeople('me','visible',$optParams);

But its not listing the email ids. How to achieve the same


Source: php

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.