我正在使用Facebook API來使用access_token和fql獲取Facebook照片的備份。Facebook中的SSL連接超時fql
使用FQL我得到了用戶
$client = new Facebook(array('appId' => 'xxxx', 'secret' => 'xxxxxx'));
$fql_albums = "SELECT aid,name from album where owner=$user_Id";
$albumId = $client->api(array(
'method' => 'fql.query',
'access_token' => $user_access_token,
'query' => $fql_albums,
));
的相冊列表獲得這個名單我運行一個查詢來獲取所有相冊中的照片,然後下載專輯後,然後移動到下一張專輯。
只下載了兩張專輯,然後得到一個錯誤如下圖所示
(!) Fatal error: Uncaught CurlException: 28: SSL connection timeout thrown in D:\wamp\www\FrostBox1.0\Facebook\FaceBookConnect\facebook-php-sdk\src\base_facebook.php on line 759
什麼可能我是做錯了什麼?
感謝它的工作! – Asghar 2012-02-14 15:09:11