validator.w3.orgを介してURLを実行すると、いくつかの警告サインが表示されます。
Line 77, Column 14: document type does not allow element "noscript" here; assuming missing "object" start-tag
Line 154, Column 699: document type does not allow element "meta" here
私はあなたのページのこれらの行に(潜在的な)問題を絞り込むことができました:
document.write('<a href="' + OAS.config.url + 'click_nx.ads/' + OAS.config.sitepage + '/1' + OAS.config.rns + '@' + OAS.config.listpos + '!' + pos + '?' + OAS.config.query + '" target=' + OAS.config.target + '>');
document.write('<img src="' + OAS.config.url + 'adstream_nx.ads/' + OAS.config.sitepage + '/1' + OAS.config.rns + '@' + OAS.config.listpos + '!' + pos + '?' + OAS.config.query + '" border=\"0\" /></a>');
これらのdocument.write()行もw3.orgバリデーターに失敗しています。
Line 53, Column 197: character "+" is not allowed in the value of attribute "target"
さらに、DOMの挿入にdocument.write()を使用するのは悪いことだと思います(そして、ページのレンダリングがブロックされる可能性があるためです)。jsオブジェクトとDOM操作の使用に変更できますか?
FBはURLをフェッチした後、それらのdocument.write()行に遭遇したときにおそらくチョークしているDOMパーサーを介してURLを実行します。これらの行に2つのdocument.writes()にまたがる<a>要素があるという事実は、おそらくパーサーを混乱させます。そして、パーサーはおそらくページの<body>に到達したと考えているため、「Metatagsinbody」エラーが発生します。
簡単なテストとして、これらのdocument.write()行の上にfb:adminsメタタグを配置してみてください。ただし、パーサーがまだチョークしていても驚かないでしょうが、試してみる価値はあります。
ページのhtmlソースをテストするために、このphp.netページの最後にあるコメントで提供されている簡単なスクリプトを使用しました:
http ://www.php.net/manual/en/class.domxpath.php
エラーが発生しました:
Unexpected end tag : a in /home/dlee/tmp/tmp.html, line: 54
Unexpected end tag : head in /home/dlee/tmp/tmp.html, line: 183
htmlParseStartTag: misplaced <body> tag in /home/dlee/tmp/tmp.html, line: 184
ここで、tmp.htmlは、ファイルに保存されたページのhtmlでした。54行目は前述のdocument.write()行です。
上記のいずれかの結果が進行中であるかどうかをお知らせください。それに応じてこの回答を編集します。