Facebook Like 按钮一旦在一个页面上单击,就会应用于多个页面
我正在尝试使用 xfbml 将 facebook 添加到网站,我一直遵循 这里。
该页面基于 JSP,我在 header.jsp 文件末尾进行 xfbml 设置,该文件包含在 body 标记的开头。我使用开放图为标题、描述和图像提供元标记,但这些是传递到标头的参数。
由于某种原因,一旦在某个页面上点击了 facebook 点赞按钮,那么同一上下文中的所有其他页面似乎都会点赞。 我不确定我做错了什么,任何帮助将不胜感激,提前致谢。
I'm trying to add facebook like to a site using xfbml, I've been following the guidelines from here.
The page is based on JSP's and I'm doing the xfbml setup at the end of a header.jsp file which is included at the start of the body tag. I'm providing meta tags using open graph for title, description, and image, but these are parameters passed into the header.
For some reason, the facebook like button once clicked for one page then appears to be liked for all other pages in the same context.
I'm not sure what I'm doing wrong, any help would be much appreciated, thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试使用这个。
Try Using This.