Facebook SSL certificate problem, verify that the CA cert is OK

Tried to get back on facebook api and tried api('/me') and it says

Uncaught CurlException: 60: SSL certificate problem: certificate has expired facebook

on localhost but failed

Solution : go to base_facebook.php
add in function makeRequest below

$ch = curl_init();
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);