what the best way for sending ajax request for storing user data for my app, and getting it back, simple ajax mechanism doesnot work due to cross domain javascript security. when i use window.location to transfer gadget in xml to another site it results in opensocial not found JS errors. Thanks Aakash
> Date: Wed, 21 Nov 2007 09:23:31 -0800> Subject: [OpenSocial] Re: > newFetchGlobalAppDataRequest does not provide any data> From: [EMAIL > PROTECTED]> To: [email protected]> > > Hi Didier,> > The global > application data is only going to be writable by the> Data APIs for security > reasons. Since we haven't released the Data> APIs yet, that means that global > application data will be empty for> your applications, which is normal.> > > You should be able to get PersonAppData though. Have you tried> setting a > value to see if you can retrieve it?> > ~Arne> > > > On Nov 20, 10:23 pm, > Didier DURAND <[EMAIL PROTECTED]> wrote:> > Hello,> >> > On orkut, I tried to > use DataRequest.newFetchGlobalAppDataRequest to> > see what it responds:> > > 1) I get the dataResponse via the async call> > 2) then, > dataResponse.hadError() is false> > 3) then, I get responseItem = > dataResponse.get() goes fine> > 4) then responseItem.hadError() is also > false> > 5) BUT, responseItem.getData() responds then 'undefined'> >> > I get > 'undefined' even though I use '*' as input param in order to get> > all > possible keys.> >> > What does it mean?> > a) I do something wrong> > b) > newFetchGlobalAppDataRequest doesn't respond yet on Orkut?> >> > BTW, same > issue with newFetchInstanceAppDataRequest() and> > > newFetchPersonAppDataRequest> >> > thanks in advance> > didier> > _________________________________________________________________ Put your friends on the big screen with Windows Vista® + Windows Live™. http://www.microsoft.com/windows/shop/specialoffers.mspx?ocid=TXT_TAGLM_CPC_MediaCtr_bigscreen_102007 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
