Facebook User info NO SSL

Just a little contribution for your blog: for those who’re unable to get valid information into $fbme, a simple solution was posted on PHP-SDK github… you will need to add this line to facebook.php under the public static $CURL_OPTS array:

CURLOPT_SSL_VERIFYPEER => false

Apparently, there seems to be a problem with authenticating the SSL certificate, so this line should solve the problem. Once you add this line, there’s no need for the Javascript popup workaround (although, even that is wonderful l’il piece of work!)

Leave a comment