Facebook php版本的API 會產生莫名其妙的錯誤,就算開啟了SSL也無法處理,出現異常訊息如下: Facebook php-SDK usually make some strange message, it still does not work well even I used SSL module. Fatal error: Uncaught CurlException: 60: SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed thrown in C:\AppServ\www\demo\facebook\src\facebook.php on line 615 經過查詢之後,處理方式如下,加入標示區域的兩行程式: After google, you can add two line of codes, sign it on yellow cross line area. $opts[CURLOPT_SSL_VERIFYPEER] = false; $opts[CURLOPT_SSL_VERIFYHOST] = 2; 尋找關鍵字『 URLOPT_POSTFIELDS 』為加入範圍如下圖: Search keyword 『 URLOPT_POSTFIELDS 』 and it will like this picture. 如此可以解決掉煩人的問題。 So this problem is solved. 參考資料 (Ref): http://blog.lamb-mei.com/2010/06/facebook-php-sdk-fatal-error.html