java - Fetch Google+ emails from Google People API -
i'm doing this.
listconnectionsresponse r = peopleservice.people().connections() .list("people/me") .setpagesize(500) // specify fields returned .setrequestmaskincludefield("person.names,person.emailaddresses") .execute();
it returns list of connections emails have added myself. not information gathered google+ profiles. possible fetch also? tried fetching individual resourcename, no email there.
person p = peopleservice.people().get("people/xxxxx").execute();
the google people api fetch emails google+ profiles, public e-mails. if e-mail shows when view profile when not signed in, should show in response.
however, e-mails not public shared account (e-mails can see if signed in) not visible through google people api privacy reasons.
Comments
Post a Comment