FaceBook Comments plugin help

筅森魡賤 提交于 2021-01-28 14:03:24

问题


I am trying to use the facebook comments plugins in my website. so I added the plugin in every article. but the comments are the same, for example if i wrote a comment in article a, it appears also in article b.

did anyone know how to work with that?


回答1:


you set the xid unique for each article; all comments with the same xid will appear together




回答2:


If you are using ASP.Net then you could always set the href attribute of the fb:comments tag to be the same url as that of your page. This ensures unique comment maintainability across different pages (articles). I have included the implementation that I used on www.myPUBGUIDE.com below:

<fb:comments href="<%=HttpContext.Current.Request.Url.AbsoluteUri %>" num_posts="10" width="500"></fb:comments>


来源:https://stackoverflow.com/questions/4450547/facebook-comments-plugin-help

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!