ここの例に従って、サンプルのFacebook phpログインの例を開発しようとしています
ここでアプリをホストしましたが、リンクにアクセスしようとするたびに、質問にエラー メッセージが表示されます。エラーをスローするコードセグメントは次のとおりです
try {
$e = new FacebookApiException(array(// LINE 887
'error_code' => curl_errno($ch),
'error' => array(
'message' => curl_error($ch),
'type' => 'CurlException',
),
));
curl_close($ch);
}
// edit suggested by Kneel-before ZOD
catch(FacebookApiException $e) {
$result = $e->getResult();
echo 'Got an : ', $e->getType(),' while posting';
echo(json_encode($result));
}
catch(Exception $e){
echo 'Caught exception: ', $e->getMessage(), "\n";
}
index.phpでAPP IDとシークレットを正しく設定したと確信しています。
これは、Facebookでの私のアプリ設定のスクリーンショットです
どんな助けでも大歓迎です。ありがとう!