I tried this contribution on a clean install of Osc 2.2rc2a and have trouble getting it to work.
The login.php and create_account.php refreshes itself and never actually got logged in or do anything. This happens when I'm logged in to my facebook account and when I logged out the page would stop refreshing itself.
I am currently running this on my local machine, and in logoff.php I have changed the domain name to ".localhost" like below
setcookie('fbs_'.$facebook->getAppId(), '', time()-100, '/', '.localhost');
I see other people have mentioned the same problem, has anyone actually got this sorted? I've spend 2 days working at it and still can't find any fix. Any help would be appreciated.
Thank you in advance.