I have the oauth authorization with google working correctly and am getting data from the contacts api. Now, I want to programmatically get a gmail user's first name, last name and picture. Which google api can i use to get this data?
views:
193answers:
2
+1
A:
I found the answer while looking around in the contacts API forum. When you get the result-feed, just do the following in Java-
String Name = resultFeed.getAuthors().get(0).getName();
String emailId = resultFeed.getId();
Im still looking for a way to get the picture.
Pranav
2010-01-22 05:21:47
A:
Off topic: how can I pm the author to ask if they've figured out how to get the picture from google id?
anon
2010-01-22 21:19:16
nope, i havnt. Not actively looking for it now but will post it here if i do find something.
Pranav
2010-01-23 08:59:13
btw, you cannot pm anyone on SO.
Pranav
2010-01-23 09:11:12