Facebook 标签之类按钮不起作用

发布于 2024-12-03 03:47:37 字数 156 浏览 6 评论 0原文

我正在为粉丝开发一个 Facebook 页面。当用户登陆我的页面时,我能够确定它是否是粉丝并适当地显示内容。在过去的几天里,我注意到非粉丝登陆我的页面并单击本机选项卡(例如按钮),该页面不会刷新以显示粉丝内容。

我该怎么办?我没有对我的代码进行任何更改来导致此问题。它就停止工作了。

I am developing a Facebook page for fans only. When a user lands on my page I am able to determine if it is a fan or not and display content appropriately. In the last few days I have noticed that non fans that land on my page and click on the native tab like button the page doesn't refresh to display the fan content.

What do I do about it? I haven't changed anything on my code to cause this. It just stopped working.

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

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

发布评论

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

评论(2

听你说爱我 2024-12-10 03:47:37

我没有遇到这样的问题,但如果您需要解决方案,请尝试订阅edge.create事件:https://developers.facebook.com/docs/reference/javascript/FB.Event.subscribe/

这样,您将能够检测是否有人点击了“赞”按钮并且,如果单击您页面的“赞”按钮,您可以将用户重定向回您的选项卡,就像刷新一样

I didn't encounter such problems, but if you need a solution, try to subscribe to the edge.create event: https://developers.facebook.com/docs/reference/javascript/FB.Event.subscribe/

This way, you will be able to detect if someone clicks a like button and, if the like button for your page is clicked, you can redirect the users back on your tab, like a sort of refresh

﹎☆浅夏丿初晴 2024-12-10 03:47:37

听起来这可能是 Facebook 的错误,代码中的任何内容都不应该对本机点赞按钮产生任何影响。

尝试在 http://bugs.developers.facebook.net/ 提交错误

Sounds like it might be a Facebook bug, nothing in your code should have any affect on the native like button.

Try submitting the bug at http://bugs.developers.facebook.net/

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文