Hi Marzia - thanks for your response!

Sadly I cannot redirect before returning to Facebook.  I can ask
Facebook to redirect, but if I redirect to a non-canvas page it won't
render within the Facebook environment.  Does that make sense?

For example, if I wanted to redirect to 2.latest.myapp.appspot.com I
can send Facebook this directive:

<fb:redirect url='http://2.latest.myapp.appspot.com' />

But it will render this page in a regular window, not the Facebook
chrome and FBML.

Ben




On Jan 5, 2:38 pm, Marzia Niccolai <[email protected]> wrote:
> Hi,
>
> There is nothing currently built-in that would allow you to do what you
> described.
>
> However, it would be _very_ easy to check for that parameter yourself in a
> request and redirect the request to the appropriate version number if it the
> version listed is not the default.
>
> -Marzia
>
> On Mon, Jan 5, 2009 at 12:13 PM, Ben Nevile <[email protected]> wrote:
>
> > Hi,
>
> > Much of my work with App Engine is on Facebook applications.  Facebook
> > acts as a proxy through which all requests flow. Every application
> > registers a callback URL that Facebook directs traffic at.  So for
> > instance
>
> >http://apps.facebook.com/my_application/foo
>
> > becomes
>
> >http://my_application.appspot.com/foo
>
> > One of my favorite GAE features is that I can access and test
> > different versions of my App Engine code.  Under most circumstances
> > the URL subdomain-based access (eg,
> > 1.latest.my_application.appspot.com,
> > 2.latest.my_application.appspot.com, etc) is very convenient, but this
> > convention doesn't fit well with Facebook's idea of the fixed callback
> > URL.  I can set up a dummy application to access the version of code
> > that I want, but this is A. kludgy and B. inconvenient because all of
> > the social context is absent in the dummy application (other friends
> > using the app, etc.)
>
> > I would very much like to be able to access different versions of my
> > code using a query parameter.  Then I could test my Facebook apps with
> > URLs like
>
> >http://apps.facebook.com/my_application/foo?APP_VERSION=2
>
> > which would be translated into
>
> >http://my_application.appspot.com/foo?APP_VERSION=2
>
> > I'm hoping something like this already possible.  If not, consider
> > this a feature request!  :)
>
> > Ben
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" 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/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to