If Tiki is in a folder, does the domain name include the folder - like example.com/tiki?
I imagine it's the same problem we're having with the other methods at the point they try to connect to Facebook. Would be interesting to put the same try/catch logic around this line:
$fp = fsockopen('ssl://graph.facebook.com', 443, $errno, $errstr);
Or to put the cURL block back in replacing the try ZendOAuth block and put the try/catch logic around either
$ch = curl_init();
$ret = curl_exec($ch);