CakePHP-Facebook-Plugin icon indicating copy to clipboard operation
CakePHP-Facebook-Plugin copied to clipboard

FB Helper init function

Open reboo opened this issue 14 years ago • 2 comments

In the FB.init() there is the status flag, you could put it in the configuration, because this causes some errors when you are logged in as a normal user (nof from facebook connect) and do not want to connect your accont with the facebook account.

reboo avatar Apr 06 '11 14:04 reboo

What status flag are you referring to?

webtechnick avatar May 09 '11 02:05 webtechnick

in the facebook helper in init function You have: window.fbAsyncInit = function() { FB.init({ appId : '{$appId}', session : {$session}, status : true, cookie : true, xfbml : true }); FB.Event.subscribe('auth.login', function() { window.location.reload(); }); }; You could change it for : status : {$status}, and put it also in the config file.

reboo avatar May 09 '11 10:05 reboo