Hi I am running this code to retrieve a value I have previously stored
on the profile data

var req = opensocial.newDataRequest();
req.add(
req.newFetchPersonAppDataRequest(
opensocial.DataRequest.PersonId.OWNER,
"myvar"),
"get_data");
req.send(endCheckRequestCode);

function endCheckRequestCode(response)
{
if (response.get("get_data").hadError()) {
output("the fetch failed ... insert code to handle the error");
} else {
var data = response.get("get_data").getData();
}
};

So far so good as the same code works on Hi5 and i manage to retrieve
the value there from the response body.
On Orkut though the respnse body coming back is the following:

while (true); &&&START&&&{"Responses":
[{"key":"get_data"}],"Success":true} &&&END&&&

Which looks a bit odd to me....
Should the code be different on Orkut?

Thanks in advance for your help



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Orkut Developer Forum" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to