Facebook共享不会显示与调试器相同的数据

我试图用og元标签设置分享数据。 在调试器中,它按预期显示。 特别是第一个图像应该是默认图像。 但是当我去尝试并分享它时,数据是不同的。 有不同的图像,并且第一个图像不是默认的。

这是网址:http://www.stepupforisrael.com/israel-apartheid-week/

这里是调试器中的网址:https://developers.facebook.com/tools/debug/og/object?q = http%3A%2F%2Fwww.stepupforisrael.com%2Fisrael-apartheid-week%2F

这里是试图分享时的网址:https://www.facebook.com/sharer/sharer.php?u=http%3A%2F%2Fwww.stepupforisrael.com/israel-apartheid-week/


根据Facebook开发者网站,您需要为图片添加三个标签,以便Facebook可以在第一个共享上显示开放图形图像。 标签是:

  • OG:图像
  • OG:图像:宽度
  • OG:图片:高
  • 请参阅此页面上的“预先缓存映像”:https://developers.facebook.com/docs/sharing/best-practices#images

    例:

    <meta property="og:image" content="http://sanangeloera.com/sites/default/files/styles/opengraph/public/88113-1460754001-1.jpg?itok=z_0Jqpcu" />
    <meta property="og:image:width" content="1200" />
    <meta property="og:image:height" content="675" />
    
    链接地址: http://www.djcxy.com/p/67429.html

    上一篇: Facebook share does not show the same data as the debugger

    下一篇: Error Linting URL: An internal error occurred while linting the URL