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, "[email protected]"
<[email protected]> 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, "[email protected]"
>
> <[email protected]> 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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to