facebook 缓存 og:title?

发布于 2024-10-12 01:36:12 字数 505 浏览 4 评论 0原文

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">

好吧,一切顺利,直到我滚动并检查页面上的“喜欢”按钮。

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

alt text

ok everything goes fine untill i scroll and check my like button on my page.

alt text

do facebook cache them ? or there is a better explanation.

thanks for the time looking in :D.

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

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

发布评论

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

评论(4

滥情哥ㄟ 2024-10-19 01:36:12

这绝对是一个缓存问题,只需尝试在您的 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! ;-)

别理我 2024-10-19 01:36:12

实际上,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.

幽蝶幻影 2024-10-19 01:36:12

根据我的经验,我发现 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.

鲜肉鲜肉永远不皱 2024-10-19 01:36:12

我不知道这是否是缓存相关的问题。但原因可能是因为你被限制更改 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.

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