Found this:
Facebook Platform Developer Forum / got "?auth_token=somekey&auth_token=somekey&auth_token =somekey..."
Trying his advice, and getting valid values with:
Code:
public function require_login() {
/**Added by Eric: 2:18 PM Saturday, February 27, 2010
why? http://forum.developers.facebook.com/viewtopic.php?pid=196832#p196832
**/
$this->api_key = $api_key;
$this->secret = $secret;
$fb = new Facebook($api_key, $secret);
$s = $this->do_get_session($_GET['auth_token']);
$fb->set_user($s['uid'], $s['session_key'], $s['expires'], $s['secret']);
if ($user = $this->get_loggedin_user()) {
return $user;
}
$this->redirect($this->get_login_url(self::current_url(), $this->in_frame()));
}
But this just throws the user to log in again to Facebook, and does not bring them to your site, maybe there is someone who understands what he is telling us to do better and can make the fix, still commenting out the stuff from the first post because when its in, it throws that error.