title: Facebook Connect PHP SDK Curl Peer SSL Verification Error
body: <p>I'm integrating Facebook Connect into our application. I thought using Facebook Official SDK at <a href="http://github.com/facebook/php-sdk" rel="nofollow noreferrer">http://github.com/facebook/php-sdk</a> is the best way, as it is advertised on FB Developers wiki.</p>
  
  <p>But I couldn't manage to make it work. When investigating the API code, I remembered my previous experiences about CURLOPT_SSL_VERIFYPEER parameter. This parameter has a default value of "true", and in the API it is not set, implicitly it is set as true.</p>
  
  <p>I changed CURLOPT_SSL_VERIFYPEER parameter to false, and problem is solved. Using it as true, what I can get from Graph API for /get/me query was "boolean(false)" however setting it CURLOPT_SSL_VERIFYPEER parameter to false same curl query gave me the user json object.</p>
  
  <p>What I want to ask here is that, what are the side effects of using Facebook PHP SDK as "CURLOPT_SSL_VERIFYPEER" parameter is set to false. More generally, does it make sense if I init a curl session without peer verification.</p>