facebook 缓存 og:title?
http: //developers.facebook.com/tools/lint?url=http%3A%2F%2Fnetworks.co.id%2Fblog.php%3Fid%3D2
问题是 facebook 确实像这样正确读取了我的网址
< img src="https://i.sstatic.net/geLrb.png" alt="alt text">
好吧,一切顺利,直到我滚动并检查页面上的“喜欢”按钮。
Facebook 会缓存它们吗?或者有更好的解释。
感谢您抽出时间查看:D。
http://developers.facebook.com/tools/lint?url=http%3A%2F%2Fnetworks.co.id%2Fblog.php%3Fid%3D2
the problem is that facebook does read my url rightly like this
ok everything goes fine untill i scroll and check my like button on my page.
do facebook cache them ? or there is a better explanation.
thanks for the time looking in :D.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
这绝对是一个缓存问题,只需尝试在您的 URL 中添加一个虚拟参数来愚弄 facebook,您就会参见。 :-)
对于你和 @Michael Irigoyen 来说,每当你觉得 FB 显示了你没有预料到的内容,或者你错误地(或故意)点击了分享按钮而页面没有显示时,这样做总是一个好习惯。 100% 准备发布。相信我,这种情况经常发生! ;-)
It's absolutely a matter of caching, just try to add a dummy parameter to your URL to fool facebook and you'll see. :-)
For you and @Michael Irigoyen, it's always a good practice to do this whenever you feel that FB is showing something you didn't expect OR if by mistake (or intentionally) you clicked on the share button and the page was not 100% ready to publish. And trust me this happens A LOT! ;-)
实际上,Facebook 每 24 小时就会抓取页面并更新缓存https://developers. facebook.com/docs/reference/plugins/like/#scraperinfo。
Actually facebook scrapes the pages and updates the cache every 24 hours https://developers.facebook.com/docs/reference/plugins/like/#scraperinfo.
根据我的经验,我发现 Facebook 确实会在第一次在 Facebook 上共享时缓存所有
标签。在我们的网站上创建“分享到 Facebook”链接时,我遇到了类似的问题。我试图将标题和描述调整为我想要的样子,并且我总是必须将我正在使用的知识库文章更改为我之前未共享的文章才能看到我所做的更改。话虽这么说,我不知道 Facebook 将这些内容保存在缓存中多久。我没有对此进行任何测试。
In my experience, I've come to find that Facebook does indeed cache the all the
<og:*>
tags the first time it's shared on Facebook. I ran into a similar issue when creating a "Share to Facebook" link on our website. I was trying to tweak the title and the description to be exactly how I wanted and I'd always have to change the knowledge base article I was working with to one I hadn't shared previously to see the changes I had made.That being said, I have no clue for how long Facebook keeps that stuff in cache. I didn't do any sort of testing on that.
我不知道这是否是缓存相关的问题。但原因可能是因为你被限制更改 og:title,你可以在达到 50 个赞之前执行此操作,所以我认为 facebook 会保留历史记录,以防你在限制变为后尝试更改标题达到了。
当然,这只是一个假设。
I don't know if this is a cache related problem. But the reason could rely in the fact that you are limited to change the og:title, you can do it before you reach the 50 likes, so I think that facebook keeps a history in case you try to change the title after the limit becomes reached.
Of course, this is only a supposition.