You need to clear the session key before calling the require_login() function as this is causing the issue.
So if this is your call to create an instance of the Facebook Class $fb = new Facebook($facebookKey, $facebookSecret);
Then you just need to add the line below just under your initialisation of the facebook instance $fb->api_client->session_key = null;
This would be the end result
$fb = new Facebook($facebookKey, $facebookSecret); $fb->api_client->session_key = null;
There is a bug currently logged in bugzilla for this.
By PHPin24 @ 2009-10-29 16:25:22
|