Facebook SDK for PHP error - CurlException: 35: error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure [duplicate]
It's because SSLv3 vulnerbility here:https://access.redhat.com/articles/1232123Facebook disabled SSLv3 so, you cannot use it anymore.
If you have php 5.5 or 5.6, try change
$opts[CURLOPT_SSLVERSION] = 3;
to
$opts[CURLOPT_SSLVERSION] = CURL_SSLVERSION_TLSv1;
If you can use it without constant error, it's ok. If you have php version lower than 5.5, just comment these 2 lines out and it will be fine after that.
$opts[CURLOPT_SSLVERSION] = 3;curl_setopt($ch, CURLOPT_SSL_CIPHER_LIST, 'SSLv3');