undefined
I'm trying to configure HybridAuth and I'm in the very early stages. Right now all I want to do is connect and make sure HA will redirect to facebook and prompt for app installation, then authenticate the user when they get back.
to solve this problem by altering the base_facebook.php class in the PHP SDK and adding the curlopt to ignore the SSL verification step. See below:
and add this (public static $CURL_OPTS = array( CURLOPT_CONNECTTIMEOUT => 10, CURLOPT_RETURNTRANSFER => true, CURLOPT_TIMEOUT => 60, CURLOPT_USERAGENT => 'facebook-php-3.1',
);
CURLOPT_SSL_VERIFYPEER => false)
Facebook HybridAuth PHP Social Network ចំណុចគួរយល់ដឹងpublic static $CURL_OPTS = array( CURLOPT_CONNECTTIMEOUT => 10, CURLOPT_RETURNTRANSFER => true, CURLOPT_TIMEOUT => 60, CURLOPT_USERAGENT => 'facebook-php-3.1', CURLOPT_SSL_VERIFYPEER => false );
0 comments:
Post a Comment