php - Facebook "Like"产生 "There was an internal error when updating the Page."

标签 php wordpress facebook facebook-like

几个月前,我在我的博客中添加了一个赞按钮,一切正常。今天早上我突然添加了一个新帖子,不知为何,点赞按钮现在坏了。每次我点击“喜欢”时,我都会收到此错误:

There was an internal error when updating the Page.

没有更多信息。

我使用了 Facebook 的 LINT,元信息完美通过,只出现了同样模糊的错误:

http://developers.facebook.com/tools/lint/?url=http%3A%2F%2Fwww.alifewortheating.com%2Fparis%2Flambroisie-revisited

如有任何帮助,我们将不胜感激。有没有人以前经历过这种情况?

谢谢!

最佳答案

对我来说帮助删除了带有 property="og:type"的 meta 标签。 早些时候它在我的页面上:

<meta property="og:type" content="product"/>

引用此页面(如 btn 部分): http://developers.facebook.com/docs/guides/canvas/

If you’re interested in gaining distribution for content or giving users the ability to like a virtual good, you should not include the og:type tag. In this case, a stream story will still be published when your users like your content, but your URL will not be equivalent to a Facebook page. This means you will not have the ability to publish to users, and your pages will not show up on users' profiles.

If your canvas URL represents a real-world object (e.g. a cause, movie, product), add the appropriate og:type tag. In this case your canvas URL will be equivalent to a Facebook page. In addition to stream distribution, when a user likes your page you will have the ability to publish updates to them, and your URL will show up on users' profiles.

关于php - Facebook "Like"产生 "There was an internal error when updating the Page.",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4006213/

相关文章:

php - Android + 网站/服务器上的 Facebook 身份验证

php - is_int() 和 ctype_digit() 有区别吗?

ssl - 启用 SSL 会出现问题

php - strlen 和特殊字符

jquery - 使用jquery过滤同时列表时出现的问题

c# - 如何使用 facebook c# sdk 注销

php - 将 Angular 4 与 LARAVEL 5.4 连接起来

javascript - php - 临时存储用户选择

php - 标签 friend 照片

facebook - 使用 Facebook Graph API v3.0 列出群组事件