facebook页面插件未显示在我的网站上

facebook页面插件未显示在我的网站上,facebook,Facebook,我遵循了这些指示,但我得到的只是一个指向Facebook页面的链接。该页面未嵌入到我的网站中 我的代码如下: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> &l

我遵循了这些指示,但我得到的只是一个指向Facebook页面的链接。该页面未嵌入到我的网站中

我的代码如下:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>facebook</title>
</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 = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.3";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>



<div class="fb-page" data-    href="https://www.facebook.com/christpalaceinternational" data-width="320" data-   height="500" data-hide-cover="false" data-show-facepile="true" data-show-   posts="true"><div class="fb-xfbml-parse-ignore"><blockquote    cite="https://www.facebook.com/christpalaceinternational"><a   href="https://www.facebook.com/christpalaceinternational">CHRIST PALACE   MINISTRIES INTERNATIONAL</a></blockquote></div></div>

</body>
</html>

我也有同样的问题。我查看了文件,上面说要取消年龄、国家等方面的限制。因为facebook的限制将嵌入到你的网站上。因此:

插件将正常呈现为那些谁是不受限制的预期。 对于那些受到限制的用户,插件根本不会呈现。
data-href–您是否真的有这些空格?当然,这是必须的。还有其他数据属性。Artem:你能确认CBroe的建议是否解决了你的问题吗?试试这个: