Facebook评论,针对每个页面 [英] Facebook comments, for each page

查看:79
本文介绍了Facebook评论,针对每个页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的网站上安装了facebook评论.我的网站是一个动态网站,页面类似于www.example.com/page?id=54,www.example.com/page?id=67

I installed facebook comments on my website. My website is a dynamic website and pages are like this www.example.com/page?id=54, www.example.com/page?id=67

如果我在以下页面上发表评论:www.site.com/page?id=54,它也会出现在www.example.com/page?id=67中.注释并非页面唯一,而是出现在每个页面中.这是为什么 ?

If I post a comment in this page: www.site.com/page?id=54, it also appears in www.example.com/page?id=67. The comments are not unique for a page, but appear in every page. Why is that ?

推荐答案

似乎FB在检索注释时会忽略URL的?query部分.

It seems that FB ignores the ?query part of the URL when retrieving comments.

您可以做什么:使用某种形式的URl重写,以便您的URL的格式为

What you could do: use some form of URl rewriting, so that your URLs are in the form http://www.example.com/page/id/54/ or similar (i.e., appearing to not use the ?id=something query part). That way, the comments should load for each page separately.

这篇关于Facebook评论,针对每个页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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