Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/280.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 连接到api read.facebook.com时出现未知SSL协议错误:443_Php_Facebook Graph Api_Ssl_Facebook Fql - Fatal编程技术网

Php 连接到api read.facebook.com时出现未知SSL协议错误:443

Php 连接到api read.facebook.com时出现未知SSL协议错误:443,php,facebook-graph-api,ssl,facebook-fql,Php,Facebook Graph Api,Ssl,Facebook Fql,有时我会收到下面的错误,但有时效果很好。当应用程序尝试使用graph api或graph api重新查询FQL时,会发生这种情况 例如: select name, sex, pic_big, locale, email, birthday from user where uid = me(); 错误: FacebookApiException Object ( [result:protected] => Array ( [error_code

有时我会收到下面的错误,但有时效果很好。当应用程序尝试使用graph api或graph api重新查询FQL时,会发生这种情况

例如:

select name, sex, pic_big, locale, email, birthday 
from user 
where uid = me();
错误:

FacebookApiException Object
(
   [result:protected] => Array
       (
           [error_code] => 35
           [error] => Array
               (
                   [message] => Unknown SSL protocol error in connection to api-read.facebook.com:443
                   [type] => CurlException
               )

       )

我不知道这是怎么回事,因为它有时有效,有时无效。有人知道怎么做吗?

像我以前做的那样做。。。将FB SDK中的所有查询更改为api.facebook.com。
问候。

安全吗?正如我所说的,apri read只是用于阅读,不会导致任何错误吗?很抱歉延迟…因为您可能知道它是安全的(可能较慢但安全)