OK, I’ll keep my app set to FBML. Cool.
ensure_authenticated_to_facebook is the filter you instructed us to add on page 38. From looking at the source, my guess is that set_facebook_session fails each time and it always executes create_new_facebook_session_and_redirect. The behavior sounds similar to this thread: http://forums.pragprog.com/forums/59/topics/3576
I’m running Rails 2.3.5: is there some new wrinkle in how sessions are stored?
I am accessing the app through http://apps.facebook.com/yourcanvaspath. If I try to hit it without being logged-in to FB, it does drop me on the login screen. But when I log in with my test user, it drops me on the app page with no content.
If I hit the tunnlr url that I have Canvas Callback URL set to directly, it directs me to the “Allow” page, but then to the blank page after allowing.
I also tried adding the def after_facebook_login_url; request.request_uri; end mentioned elsewhere on the forums, but no change.