I try. This is not work in my case. But your answer give me an idea and it is work: function saveViewerPersistence(key,value){ var req = opensocial.newDataRequest(); req.add(req.newUpdatePersonAppDataRequest("VIEWER", key, gadgets.json.stringify(value))); req.send(checkSend); }
function checkSend(data){ if (data.hadError()){ output("error: "+data.getErrorMessage()); } else { output("data saved success!") } } cls(); saveViewerPersistence("key",456); I use gadgets.json.stringify(). Thank you, Robson. -- 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-or...@googlegroups.com. To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/opensocial-orkut?hl=en.