Something is wrong.... removing localhost from your hosts file may have a negative impact on any applications that expect localhost, a de facto standard, to be the local loopback address. Besides that it should not affect cookies from another domain.
Although the two may be related, I don't think you should declare victory yet. On Jul 20, 2:19 am, "eric.winch...@gmail.com" <eric.winch...@gmail.com> wrote: > The bad news is I am an idiot. > > The good news is the solution is to not use LOCALHOST. I changed C: > \Windows\System32\drivers\etc\hosts 'localhost' to 'localhost.com' and > Facebook cookies work the way they should. > > On Jul 19, 11:12 pm, "eric.winch...@gmail.com" > > <eric.winch...@gmail.com> wrote: > > More information: > > > I checked to be sure Facebook is instantiating correctly. I think > > CakePHP is preventing the Facebook class from getting the cookie data. > > Facebook::get_valid_fb_params() tries to access $_COOKIE but the only > > thing in there is $_COOKIE['CAKEPHP'] > > > There is a weird fix on the FB Wiki but tricking Cake to use > > Facebook's session seems like the wrong thing to do. > > > Given this problem, I don't understand how this > > works:http://cutfromthenorth.com/integrating-facebook-connect-with-cakephps... > > > On Jul 19, 4:02 pm, "eric.winch...@gmail.com" > > > <eric.winch...@gmail.com> wrote: > > > I'm attempting to use Facebook Connect with its PHP library. > > > > <fb:login-button onlogin="update_login_box()"></fb:login-button> > > > > That gets the user logged in ok but then using the PHP libs: > > > > $facebook->get_loggedin_user() is always NULL. Anyone run into this? > > > I'm wondering if it has something to do with Cake taking over the > > > sessions and cookies. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---