Hi All!
Has anyone managed to make newFetchPeopleRequest request for specific
personId executable?
what I am trying to do is
function requestData() {
req = opensocial.newDataRequest();
req.add(req.newFetchPersonRequest("1234567890"), "friends");
req.send(responseData);
}
function responseData(data) {
var resp = data.get("friends");
if (resp.hadError()) {
document.getElementById('dev').innerHTML = "error occured";
return;
}
friends = resp.getData();
friends.each(function(person) {
....
});
}
for "1234567890" I am using valid personId and I am always getting
null instead of response, so line if (resp.hadError()) already fires
exception
Any ideas?
Andrey
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Orkut Discussion" 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-orkut?hl=en
-~----------~----~----~----~------~----~------~--~---