BaseFacebook::throwAPIException
Analyzes the supplied result to see if it was thrown because the access token is no longer valid. If that is the case, then we destroy the session.
Signature
protected function throwAPIException(array
$result )
Parameters
$result
— array- A record storing the error message returned
by a failed API call.