cURL has to be able to connect via SSL to Twitter and Facebook' s API
from your server to gather data, so yes, this is a ThinkUp system
requirement. We're going to add a check for it in the installer so you
find out sooner rather than later if it doesn't work on your setup
(apologies for that).
Well there you go! Thanks for the workaround Michel! We could add this
option to the developer area of the config file so that folks don't
have to re-edit code every time.
--
You received this message because you are subscribed to the Google
Groups "ThinkUp App" group.
http://groups.google.com/group/thinkupapp?hl=en
Find out more about ThinkUp:
http://thinkupapp.com
Yes, now it's located in webapp/plugins/facebook/extlib/facebook/
protected function makeRequest($url, $params, $ch=null) {if (!$ch) {$ch = curl_init();}$opts = self::$CURL_OPTS;if ($this->useFileUploadSupport()) {$opts[CURLOPT_POSTFIELDS] = $params;} else {$opts[CURLOPT_POSTFIELDS] = http_build_query($params, null, '&');}$opts[CURLOPT_URL] = $url;// disable the 'Expect: 100-continue' behaviour. This causes CURL to wait// for 2 seconds if the server does not support this header.if (isset($opts[CURLOPT_HTTPHEADER])) {$existing_headers = $opts[CURLOPT_HTTPHEADER];$existing_headers[] = 'Expect:';$opts[CURLOPT_HTTPHEADER] = $existing_headers;} else {$opts[CURLOPT_HTTPHEADER] = array('Expect:');}curl_setopt_array($ch, $opts);$result = curl_exec($ch);if (curl_errno($ch) == 60) { // CURLE_SSL_CACERTself::errorLog('Invalid or no certificate authority found, '.'using bundled information');curl_setopt($ch, CURLOPT_CAINFO,dirname(__FILE__) . '/fb_ca_chain_bundle.crt');$result = curl_exec($ch);}if ($result === false) {$e = new FacebookApiException(array('error_code' => curl_errno($ch),'error' => array('message' => curl_error($ch),'type' => 'CurlException',),));curl_close($ch);throw $e;}curl_close($ch);return $result;}