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 :
//
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
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://
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
> 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
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
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
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
> 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
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 ..
10 matches
Mail list logo