慕尼黑 Friseur 的 Facebook fanbox 小部件 fbxml 问题

发布于 2024-10-08 13:04:12 字数 368 浏览 0 评论 0原文

有时我会遇到这样的问题:我的公司网站 Friseursalon München 上没有加载 Facebook Fanbox。在 fbxml 代码中找不到问题:

<fb:fan profile_id="395375265611" connections="10" width="334" height="285" css="http://www.x-hair.de/cms/css/facebook.css"></fb:fan>

有什么建议吗?还有其他人有同样的问题吗?

谢谢, 斯蒂芬

Sometimes iv'e got the problem that no facebook fanbox is load on my companies website Friseursalon München. Can't find a problem in the fbxml code:

<fb:fan profile_id="395375265611" connections="10" width="334" height="285" css="http://www.x-hair.de/cms/css/facebook.css"></fb:fan>

Any suggestions? Anybody else with the same issue?

Thanks,
Stephan

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

素年丶 2024-10-15 13:04:12

我在 Facebook 粉丝代码中没有看到任何错误。

您应该在页面顶部添加 facebook xmlns 字符串:

<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:fb="http://www.facebook.com/2008/fbml">

这解决了我在 Internet Explorer 中的一些问题。

您可以尝试加载最新版本的js SDK。

<div id="fb-root"></div>
<script src="http://connect.facebook.net/en_US/all.js"></script>
<script>
  FB.init({appId: 'your app id', status: true, cookie: true, xfbml: true});
</script>

I don't see any mistakes in the facebook fan code.

You should add the facebook xmlns string at the top of your page:

<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:fb="http://www.facebook.com/2008/fbml">

This solved some problems for me in Internet Explorer.

You could try to load the newest version of the js SDK.

<div id="fb-root"></div>
<script src="http://connect.facebook.net/en_US/all.js"></script>
<script>
  FB.init({appId: 'your app id', status: true, cookie: true, xfbml: true});
</script>
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文