I am using this function to get a persons info from his opensocial ID
 newFetchPersonRequest(id, opt_params)
i am using it like this---
var req = opensocial.newDataRequest();
 req.add(req.newFetchPersonRequest("17361100101336358962","person");
req.send(fc);

function fc(data){

        var error = data.get("person").hadError();
  if (error) {alert("err");}
        var person = data.get("person").getData();
                var nm=person.getDisplayImage();
        var img=person.getField(opensocial.Person.Field.THUMBNAIL_URL);
        alert(nm);
        alert(img);

             }

however i am getting a JS error that person has no properties, what am
i missing?
Also i am not able understand how to make secure content fetching
using the new
 makeRequest(url, callback, opt_params)

Thanks

Aakash
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to