Hi Ashish, Check out gadgets.io.makeRequest, which can get around the cross domain limitations of AJAX. Here's a link to the API reference for this function:
http://code.google.com/apis/opensocial/docs/0.7/reference/gadgets.io.html#makeRequest and here's a link to a wiki page with some samples: http://code.google.com/p/opensocial-resources/wiki/GadgetsMakeRequest Hope this helps, ~Arne On Mon, Mar 3, 2008 at 10:13 PM, Ashish <[EMAIL PROTECTED]> wrote: > > Hi All, > I have a query regarding the development of an opensocial application. > I built an opensocial application which is fetching the container > ( i.e. orkut in my case) related data finely, but I need to get some > data from my database which is at my server/domain. > > I am unable to fire any request to my domain as there are technical > issues related to cross domain browser security in place. I am not > aware of how to handle such situations as in Facebook it is handled > automatically by Facebook some how, but here I am unable to fire an > AJAX call to my server pages. > > Can somebody let me know is it possible in OPENSOCIAL APPLICATIONS > (not containers)? If yes, please let me know how we can do it? > > Thanks, > Ashish Jain > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "OpenSocial Application Development" 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 -~----------~----~----~----~------~----~------~--~---
