I have developed a simple app for Facebook using PHP. It was working fine until recently when the above error message would show. I have did some research and one of the suggestions was to enable the OpenSSL support, which I did but the same problem persisted.
I am new to these and so any form of help would be greatly appreciated. I am not sure if this problem is related to the server.
Edit:
I have traced the source of the error (base_facebook.php) and it should be somewhere in the lines shown below:
if ($result === false)
{
$e = new FacebookApiException(array(
'error_code' => curl_errno($ch),
'error' => array(
'message' => curl_error($ch),
'type' => 'CurlException',
),
));
curl_close($ch);
throw $e;
}
curl_close($ch);
return $result;