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-auth-component/

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
-~----------~----~----~----~------~----~------~--~---

Reply via email to