I am trying to get email and profile urls for the owner's friends. I
am doing something like this:

function request() {
  var req = opensocial.newDataRequest();
 
req.add(req.newFetchPersonRequest(opensocial.DataRequest.PersonId.VIEWER),
"req");
  req.send(response);
};

function response(data) {
 var me =data.get("req").getData();
 var email =
me.getField(opensocial.Email.getField(opensocial.Email.Field.ADDRESS));
 var profileUrl = me.getFiled(opensocial.Person.Field.PROFILE_URL);
};
*(I am trying it on the viewer and if successful, will do it for the
friends.)

I am able to get the profile url using:
me.getField(opensocial.Person.Field.THUMBNAIL_URL);

I am getting back null for both of them (tried it in my app and
CodeRunner). Are they implemented in orkut?
Any help is appreciated. Thanks.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Orkut Developer Forum" group.
To post to this group, send email to opensocial-orkut@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/opensocial-orkut?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to