how to use get..() method from userinfo

19 views
Skip to first unread message

sKuD sKuD

unread,
Apr 20, 2012, 6:10:07 AM4/20/12
to google-api...@googlegroups.com
Hi , 

when I try this : 

$oauth2 = new apiOauth2Service($client);

$userInfo = $oauth2->userinfo->get();

echo $userInfo->getEmail();

I have this error : string(171) "ERROR : [8] Trying to get property of non-object

These methods are not implemented ? I must only use the userinfo array ?

Thanks !!!


Reply all
Reply to author
Forward
0 new messages