1 message in com.googlegroups.opensocial-orkutRe: [orkut-developer] Re: View App Fr...
FromSent OnAttachments
Arne Roomann-Kurrik26 Feb 2008 15:53 
Subject:Re: [orkut-developer] Re: View App Frame Only
From:Arne Roomann-Kurrik (api.@google.com)
Date:02/26/2008 03:53:37 PM
List:com.googlegroups.opensocial-orkut

Honestly, I don't deal much with the mechanics of the security token. Since Orkut's gadget server is based off of Shindig, you could ask that list for more information about how it works: http://incubator.apache.org/shindig/#tab-support

~Arne

On Tue, Feb 26, 2008 at 1:33 PM, Barry Welch <btwe@gmail.com> wrote:

Too bad.

An interesting side question: What kind of state information? When you navigate away from the page and hit the browser back button my app used to choke. It seemed to be unable to obtain a valid VIEWER object. But now, as in the last 2-days, it seems to load fine... is this an issue with the 'maintained state' that you are talking about?

On Feb 26, 11:25 am, "Arne Roomann-Kurrik" <api.@google.com> wrote:

Sorry, replace "you can run it alone in an iframe" with "you can run it alone without the iframe"

~Arne

On Tue, Feb 26, 2008 at 9:24 AM, Arne Roomann-Kurrik < api.@google.com> wrote:

Hi Barry,

What you want to do will not be possible without first loading the gadget in a container. When the gadget is loaded, the container does some work in the background and assigns the gadget a security token that helps maintain state and verify that the gadget viewer/owner are who they claim to be. After your gadget is loaded, you can run it alone in an iframe for a short time and it will have access to some of the opensocial functions (like retrieving data) but some of the functions require the presence of the container (IIRC, adjusting the height of the app and navigation are some examples of this).

When the REST based API is released, running the application in its own window will be much easier to implement.

~Arne

On Tue, Feb 26, 2008 at 8:39 AM, Barry Welch <btwe@gmail.com>

wrote:

So, I want to run my app (the IFRAME) in its own window/tab, but I want it to have all the power of the container, such as the ability to obtain the view object and his friends, etc. Seems like I should be able to do this. Here's the Gifts tutorial application which, IMO, should load in the browser just fine, but it doesnt:

http://0.gmodules.com/46/o/ig/ifr?url=http://opensocial-resources.goo...

I've tried this on my own app too (replacing url=bleh with my app spec URL), but it seems like it doesn't know anything about the

container.

So, what I am asking is: is there a way to load my app 'outside' of the Orkut domain and still get the container power?

As an aside... In the off-chance that anyone else wants what I am wanting, you may also find this URL helpful. It allows you to login to Okut without going to Orkut:

https://www.google.com/accounts/ServiceLoginBox?service=orkut&nui=2&u...-Hide
quoted text -

- Show quoted text -