Deeplinking using GWT History Token within a Facebook iFrame Canvas

Posted by Stevko on Stack Overflow See other posts from Stack Overflow or by Stevko
Published on 2010-03-16T20:45:28Z Indexed on 2010/03/18 4:41 UTC
Read the original article Hit count: 504

Filed under:
|

I would like to deep link directly to a GWT app page within a Facebook iFrame Canvas.

The first part is simple using GWT's History token with URLs like:

http://www.example.com/MyApp/#page1

which would open page1 within my app.

Facebook Apps use an application url like:

http://apps.facebook.com/myAppName

which frames my Canvas Callback URL

http://www.example.com/MyApp/

Is there a way to specify a canvas callback url (or bookmark url) which will take the user to a specific page rather than the index page?

Why? you may ask. Besides all the benefits of deep links...

  • I want the "Go To Application" url to take users to an index page w/ marketing material (the canvas callback url)

  • I want the "Bookmark URL" to take (likely returning) users to a login page and bypass downloading the marketing content (and that huge SWF file).

© Stack Overflow or respective owner

Related posts about facebook

Related posts about gwt