3

私はこの単純なhtmlコードを持っています:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns:fb="http://ogp.me/ns/fb#" xmlns:og="http://ogp.me/ns#">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body>
<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 = "http://connect.facebook.net/en_US/all.js#xfbml=1";

fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));

コメント リストは不完全であり、ローダー イメージは停止したり消えたりしません。何が起こっているのか

ありがとう

4

1 に答える 1

0

ページに OpenGraph タグを追加すると、問題が解決することがわかりました。タグは、Facebook がページのコメントにリンクするために使用されているようです。この問題はローカル環境でも見られますが、ホストされると自然に解決します。

于 2012-08-22T13:10:20.927 に答える