如何更新 Facebook 点赞按钮
我在网站上放置了 Facebook Like 按钮大约 7 天前。看起来效果很好;只是几天后我注意到它在发送的 Facebook 消息中给出了错误的元数据。标题、描述和规范 URL 都是错误的。罪责。是我的错。为了节省时间,我克隆了一个旧页面,更改了内容,但忘记更改顶部的元数据。很容易修复,对吧。编辑 html 页面。错误的。没有什么区别。删除了“赞”按钮代码,并在 Facebook 开发者网站上重新创建了一个新的“赞”按钮并粘贴了新代码。没有什么区别。该按钮仍然显示第一个按钮的元数据。尝试了按钮代码的不同变体。无论如何都没有什么区别。看来原始数据已缓存在 Facebook 数据库中,无法更改。 有人帮忙吗?
Possible Duplicate:
Facebook share url thumbnail problem
How to clear Facebook Sharer cache?
I placed a Facebook Like button on my website about 7 days ago. It seemed to work fine; except several days later I noticed that it was giving out the wrong meta data in the Facebook message that is sent. The Title, the Description and the Canonical URL were all wrong. Mea Culpa. It was my fault. I had cloned an old page to save time, had changed the content but had forgotten to change the Meta data at the top. Easy to fix, right. Edit the html page. WRONG. Made no difference. Deleted the Like button code, and re-created a new Like button on the Facebook Developers website and pasted the new code. Made no difference. The button still shows the Meta data from the first button.Tried different variations of button code. Made no difference whatever. It seems the original data has been cached in the Facebook database, and cannot be changed.
Any help somebody?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
在 Facebook 调试器中加载 URL。这可能会刷新缓存。
Load the URL in the Facebook debugger. That might flush the cache.
您可能应该尝试最后使用查询字符串更改 URL。
此外,URL Linter 还让您深入了解 FB 将如何读取您喜欢的元标签。
在此处检查您的赞页面 URL 并查看 FB 的所有元标签都包含哪些内容始终是一个好习惯。
http://developers.facebook.com/tools/debug
You should probably try changing URL with a query string in the end.
Also, URL Linter provides you an insight on how FB is going to read your like Meta Tags.
it is always a good practice to check your like page URL here and see what all Meta Tags FB is picking up ..
http://developers.facebook.com/tools/debug