Sharing on Facebook sometimes works fine, and sometimes not (no name, no description, no thumbnail)

I work at Storify, and we have a problem when we want to share some stories on Facebook. We use og meta tags to make sure this story is accessible. We mainly use og: title, og: site_name, og: type, og: url, og: image and og: description.

For some stories, it works like a charm, and it looks amazing, for example. http://storify.com/elevour/smog-attacks-beijing-yet-again

Working

But some stories, this does not work at all, for example. http://storify.com/documentally/40-at-40

Not working

We use the same script for both, and OpenGraph.in can detect my meta tags in each separate story ... http://www.opengraph.in/?url=http%3A%2F%2Fstorify.com%2Fdocumentally%2F40- at-40 & format = html

Do you have any idea what this could be? Is this a bug from Facebook?

+4
source share
2 answers

Vinch, I get completely inconsistent results when I run these links through the facebook debugger ( https://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fstorify.com%2Fdocumentally%2F40 -at-40 ), it looks like it has problems parsing URLs. For a beijing link, she successfully analyzed it for the first time, but returned an error in all subsequent attempts, for 40 links I get an error every time. Perhaps this is due to how you resolve the URLs on your server? When I run the user url, for example: http://storify.com/documentally/ through the debugger, it returns the general og data from http://storify.com/ ...

+3
source

The problem with the facebook cache and the solution is to update the facebook cache by clicking on the link. https://developers.facebook.com/tools/debug/og/object/

and click on the button β€œGet new scratch information”.

Hope this helps

0
source

Source: https://habr.com/ru/post/1385020/


All Articles