FACEBOOK_CANVAS_PARAM

Aug 28, 2008 at 10:32 PM
It appears that the default behavior for facebook web apps is to reside in the canvas.  I do not want my site hosted inside the canvas.  BasePageHelper.cs in the facebook.web project has a method RedirectToLogin() (see below) which always appends the FACEBOOK_CANVAS_PARAM constant.  This is what tells facebook to render in an iframe instead of redirecting.
My question: Is there a reason this is not a config setting?


        private void RedirectToLogin()
        {
            RedirectTopFrame(_response, FACEBOOK_LOGIN_URL + api.ApplicationKey + FACEBOOK_CANVAS_PARAM);
        }

        private const string FACEBOOK_CANVAS_PARAM = "&canvas";