facebook caches og:title?

2019-05-30 15:28发布

问题:

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.

回答1:

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! ;-)



回答2:

Actually facebook scrapes the pages and updates the cache every 24 hours https://developers.facebook.com/docs/reference/plugins/like/#scraperinfo.



回答3:

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.



回答4:

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.