Rob Lacey
2009-Aug-03 18:00 UTC
[Facebooker-talk] Redirecting outside Facebook after login
Hi, I don''t know if anyone else has seen this issue. We''ve just put out application into Very Very Alpha release and I''ve just noticed that when accessing our application when not logged into Facebook once the login is complete we''re redirected to the canvas except its outside of the Facebook Canvas entirely, ie our app returns the page that should embed inside the FB body. I thought it was supposed to redirect to the canvas itself. Something is getting very confused along the way but I don''t think its our setup that''s doing it as all I can see is an incoming request for the canvas which redirects the user to login, and then the next request is a GET outside of the canvas although I''m not 100% sure. Can anyone else see this issue and know how it might be caused? RobL
Rob Lacey
2009-Aug-05 14:26 UTC
[Facebooker-talk] Redirecting outside Facebook after login
Thanks for the response Nasir, I upgraded initially and retried and the problem has resolved itself. I think some extra params where being password to login.php I think they included the params from the inital request to my canvas which required the user to be authenticated, which when tacked onto ''next'' caused the issueI saw. So we''re all good again. No need to use ''ensure_application_is_installed_by_facebook_user'' in the end. Cheers RobL http://www.robl.me Nasir Khan wrote:> If you are checking if the "user" is blank and then calling > ensure_authenticated_to_facebook and getting the non canvas template > then use > "ensure_application_is_installed_by_facebook_user" instead. > > Do sync up to the latest release just in case. > > HTH > > On Mon, Aug 3, 2009 at 2:00 PM, Rob Lacey <contact at robl.me> wrote: > > Hi, > > I don''t know if anyone else has seen this issue. We''ve just put > out application into Very Very Alpha release and I''ve just noticed > that when accessing our application when not logged into Facebook > once the login is complete we''re redirected to the canvas except > its outside of the Facebook Canvas entirely, ie our app returns > the page that should embed inside the FB body. I thought it was > supposed to redirect to the canvas itself. Something is getting > very confused along the way but I don''t think its our setup that''s > doing it as all I can see is an incoming request for the canvas > which redirects the user to login, and then the next request is a > GET outside of the canvas although I''m not 100% sure. > > Can anyone else see this issue and know how it might be caused? > > RobL > _______________________________________________ > Facebooker-talk mailing list > Facebooker-talk at rubyforge.org <mailto:Facebooker-talk at rubyforge.org> > http://rubyforge.org/mailman/listinfo/facebooker-talk > >