Hey Rich, The fields you can currently get out of an OpenSocial Person object are listed here:
http://code.google.com/apis/opensocial/docs/javascript/reference/opensocial.Person.Field.html Email is not available due to privacy issues - it would currently be very easy to mine containers for spam recipients. ~Arne On Dec 2, 11:20 pm, 321blastoff <[EMAIL PROTECTED]> wrote: > Hi, I'm trying to get the email addresses of a viewer's friends in > Orkut. Nothing seems to work. > > var viewer_friends = data.get("viewer_friends").getData(); > viewer_friends.each(function(person) { > var name = person.getDisplayName(); // displays right! > var thumb = > person.getField(opensocial.Person.Field.THUMBNAIL_URL); // displays > right! > var email = person.getField('email'); // always null > var email2 = person.getField(opensocial.Person.Field.EMAIL); // > null > var email3 = > person.getField(opensocial.Person.Field.EMAIL_ADDRESS); // null > } > > Why no worky? Where can I get a list of the available fields? I can't > find it anywhere. > > Thanks, > Rich --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "OpenSocial API Definition" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/opensocial-api?hl=en -~----------~----~----~----~------~----~------~--~---
