I am having a similar result in orkut. The code in getData is executed
but the code in onLoadFriends chokes on the 1st get. is this a
possible timing issue with the JS falling thru to the 2d routine
instead of waiting for the datarequest to complete?

On Nov 3, 2:28 pm, Travis Choma <[EMAIL PROTECTED]> wrote:
> i ran it from sandbox.orkut.com..... (i used the url generated from
> saving the file in the google gears editor)
> but i also then tried putting the xml file on my own http server and i
> get the same error (opensocial is undefined)
> error is in firefox and IE, and it's not do to caching, this happens
> on first run of a fresh app....
> i think there is something else going on....
>
> On Nov 3, 7:12 pm, mbchandar <[EMAIL PROTECTED]> wrote:
>
>
>
> > opensocial wont work in gmodules. you need to have some container like
> > sandbox.orkut.com.
> > login to sandbox.orkut.com. on the left side, check for application
> > link, click on it, add your xml file url and then say add application.
> > once done, you would see your application appearing on the left
> > sidebar. click on it. this is your application.
>
> > On Nov 3, 10:54 pm, Travis Choma <[EMAIL PROTECTED]> wrote:
>
> > > same problem... pasted the example with the require statement for
> > > opensocial 0.5 and when i run the app in the sandbox i get
>
> > > Error: opensocial is not defined
> > > Source 
> > > File:http://qdli6hfq-a.gmodules.com/ig/ifr?url=http://hosting.gmodules.com...
> > > Line: 18
>
> > > On Nov 3, 5:06 pm, Stefan <[EMAIL PROTECTED]> wrote:
>
> > > > Hi,
>
> > > > I copied your example 
> > > > fromhttp://code.google.com/apis/opensocial/docs/javascript/index.html#Lis...
> > > > into an xml file, stored it (via the GGE) and added the gadget to the
> > > > orkut sandbox but it did not work. I figured out that the java script
> > > > function getData() is executed until
> > > > var req = opensocial.newDataRequest();
> > > > command.
>
> > > > Can you help me?
>
> > > > Thanks
> > > > Stefan- Hide quoted text -
>
> > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -


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

Reply via email to