Open GoogleCodeExporter opened 9 years ago
[deleted comment]
I had the same issue but then realized that this seems to be expected
behaviour. Only a few fields are returned by default, to get others, they must
be explicitly requested, as below:
Set<ProfileField> fields = new HashSet<ProfileField>();
fields.add(ProfileField.SUMMARY);
Person profile = client.getProfileByUrl(profileUrl, ProfileType.STANDARD, fields);
This would return the summary field, note that by explicitly requesting fields
in this way it overrides the default fields (such as firstName), so these must
also be requested, if desired.
Original comment by r.dane1...@gmail.com
on 9 Jun 2013 at 7:05
Original issue reported on code.google.com by
xingwei...@gmail.com
on 2 Aug 2011 at 8:51