Return to Snippet

Revision: 41796
at February 23, 2011 16:02 by ialexs


Initial Code
public static $CURL_OPTS = array(
    /** 
    * increase the timeout 
    * if experiencing badd hosting connections
    **/
    CURLOPT_CONNECTTIMEOUT => 110,
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_TIMEOUT        => 160,
    CURLOPT_USERAGENT      => 'facebook-php-2.0',
	/**
	* add these to turn off the SSL 
	**/
	CURLOPT_SSL_VERIFYPEER => false,
    	CURLOPT_SSL_VERIFYHOST => false,

Initial URL

                                

Initial Description

                                

Initial Title
turn off CURL-ing SSL in facebook php-sdk

Initial Tags
facebook

Initial Language
PHP