FacebookApiException::getResult()Get the object that is the result of the error or exception returned by the server. This is an array containing the error message from the server.
try {
$facebook->api('/me/feed','POST',
array(
'message' => 'Hello World!',
'link' => 'www.example.com'
)
);
} catch(FacebookApiException $e) {
$result = $e->getResult();
error_log(json_encode($result));
}
None.