Tuesday, November 09, 2010

Uncaught exception 'FacebookRestClientException' with message 'Session key invalid or no longer valid' in...

If using Facebook’s PHP library you get:
Uncaught exception 'FacebookRestClientException' with message 'Session key invalid or no longer valid' in..
Try adding the following before the offending line:
$facebook->clear_cookie_state()

No comments:

Post a Comment