[opensocial] Re: How to access the data from another page

2007-11-08 Thread Paul Lindner
Hi, There's a proposed addition to the API that adds a new call: urlTo(mode,params) Here's the hack code we have in hi5container.js: opensocial.Hi5Container.prototype.urlTo = function(mode, params) { var url; switch(mode) { case opensocial.Hi5Container.Mode.CANVAS : //

[opensocial] Re: How to access the data from another page

2007-11-08 Thread sanjaymk
My first cut of my facebook app did exactly this-opened an iframe with my content embedded in it. opensocial is undefined inside this iframe. AND all toplevel url params are not accessible. BTW I used the Apple code verbatim to create an iframe. The creation works great-cant do anything interesti

[opensocial] Re: How to access the data from another page

2007-11-07 Thread MrGamma
Yes... I believe you could make your own transport as well... http://developer.apple.com/internet/webcontent/iframe.html That link above should work in more browsers from what I remember specifically IE Mac 5.2 ( not that I think it matters any more ) and then there is the ajax stuff... http://

[opensocial] Re: How to access the data from another page

2007-11-07 Thread toxic
K , if I use an Ajax update instead of a iframe , then I think the variables should be accessible juss some thoughts... ;-> --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "OpenSocial Developers" group. To post

[opensocial] Re: How to access the data from another page

2007-11-07 Thread MrGamma
> I cant do anything interesting with opensocial till they fix > the contenttype=url flows. I'm not so sure anybody is going to be able to take out facebook... er um... do anything interesting with openSocial... not until OpenSocial becomes an open source project... http://www.google.com/trends

[opensocial] Re: How to access the data from another page

2007-11-07 Thread sanjaymk
I think the situation and my experience is far worse. You cant build an app that does any multipage flows. As soon as you leave the main page (instantiated by gmodules.com), you get "opensocial is not defined" errors. Forget multipages, I thought I was being smart and created a frame pulling conte

[opensocial] Re: How to access the data from another page

2007-11-07 Thread toxic
Tried it already , but cant send Cookies to multiple domains ;-<. On Nov 7, 2:05 am, MrGamma <[EMAIL PROTECTED]> wrote: > Can't you dump the variables into cookies? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[opensocial] Re: How to access the data from another page

2007-11-07 Thread MrGamma
Can't you dump the variables into cookies? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "OpenSocial Developers" group. To post to this group, send email to opensocial-api@googlegroups.com To unsubscribe from th

[opensocial] Re: How to access the data from another page

2007-11-07 Thread toxic
> Pass them on in your request .. document.location = 'http:// > example.com/?user_id='+user_id+'&thumb='+thumb; But I am using a static page !! not a dynamic page ... That is why I asked about the Javascript Variables... If there was any way I could call the JS Variables ;-< Thanks anyways Ri

[opensocial] Re: How to access the data from another page

2007-11-07 Thread RickMeasham
On Nov 7, 1:51 pm, toxic <[EMAIL PROTECTED]> wrote: > I call gadget.xml file , get the user id , Profile thumbnail url. Now > I go to another page using windows.location.href="asdas.com"; but , > now the fetched variables (from prior to the redirection) are lost . Pass them on in your request ..