2週間以来、私はソーシャルプラグインのコメントボックスにこだわっています. 私は自分の FB Fanpage に "Hike - Free Tab Builder" をインストールし、そこにテキスト付きの HTML コードを挿入し、そこに 1 つのボックスも含めました。これらのボックスをモデレートするために、AppID を取得するためのアプリ (コメント ボックス) を作成し、fb.developers チュートリアルで求められたすべてのことを行いました。要求された ID をメタ コマンドとして "head" セクションに配置し、それ以外は "body" タグのすぐ後ろに配置しました。
モデレーションツールに接続できず、何が悪いのかわかりません。私はこれに2週間取り組んでいます.答えを求めて検索しましたが、成功しませんでした. ここにいる人なら誰でも答えられるかもしれません。
ここに私が書いたコードの一部があります:
<!DOCTYPE html>
<html>
<head>
<meta property="fb:admins" content="{10000113xxxxxxx}"/>
<meta property="fb:app_id" content="{20368994xxxxxxx}"/>
<title>Research</title>
<style type="text/css">
P {font-family: arial; color: rgb(0, 0, 102); font-size: 1}
H2 {font-family: arial; font-size: 4; color: rgb(153, 0, 0); font: bold}
H3 {font-family: arial; font-size: 3; color: rgb(153, 0, 0); font: bold}
HR {font-family: arial; width: auto}
</style>
</head>
<body>
<div id="fb-root"></div>
<script>
window.fbAsyncInit = function() {
FB.init({
appId : '203689xxxxxxx', // App ID
channelUrl : '//channel.html', // Channel File
status : true, // check login status
cookie : true, // enable cookies to allow the server to access the session
xfbml : true // parse XFBML
});
// Additional initialization code here
};
// Load the SDK Asynchronously
(function(d){
var js, id = 'facebook-jssdk', ref = d.getElementsByTagName('script')[0];
if (d.getElementById(id)) {return;}
js = d.createElement('script'); js.id = id; js.async = true;
js.src = "//connect.facebook.net/en_US/all.js";
ref.parentNode.insertBefore(js, ref);
}(document));
</script>
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/de_DE/all.js#xfbml=1&appId=2036899xxxxxxx";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<h2>Contents</h2>
(...)
<div class="fb-comments" data-href="https://www.facebook.com/(...)/app_151503908244383" data-num-posts="10" data-width="785"></div>
(...)
</body>
</html>
ここで何が問題なのですか?