3 messages in com.googlegroups.opensocial-apiNeed Help getting person data from hi...
FromSent OnAttachments
Aakash22 Dec 2007 12:07 
Dustin Jorge22 Dec 2007 13:16 
Aakash Bapna23 Dec 2007 04:30 
Subject:Need Help getting person data from his ID(obtained by person.getId()), new remote content function
From:Aakash (aak@live.com)
Date:12/22/2007 12:07:05 PM
List:com.googlegroups.opensocial-api

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