Blogger上的每则讯息都会显示相同的Facebook评论 [英] The same Facebook comments appear on every post on Blogger

查看:150
本文介绍了Blogger上的每则讯息都会显示相同的Facebook评论的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Blogger上有一个博客,我刚刚安装了新的FaceBook评论插件。代码看起来像这样。

I have a blog on Blogger and I just installed the new FaceBook Comments plugin. The code looks like this.

<div id="fb-root"></div>
<script>(function(d){
var js, id = 'facebook-jssdk'; if (d.getElementById(id)) {return;}
js = d.createElement('script'); js.id = id; js.async = true;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
d.getElementsByTagName('head')[0].appendChild(js);
}(document));</script>
<fb:comments href="zephraz.blogspot.com" num_posts="10" width="490" colorscheme="dark"></fb:comments>

我真的有一个困难的时间,因为同样的评论出现在我的博客上的每个帖子。

I am really having a difficult time because the same comments appear on each of the post on my blog. I am a newbie and I know nothing about coding and etc. Can anyone help me on this one?

推荐答案

更改:

href="zephraz.blogspot.com"

To:

expr:href='data:post.url'

这篇关于Blogger上的每则讯息都会显示相同的Facebook评论的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆