【问题标题】:Image not shared on Facebook while clicking Facebook share button单击 Facebook 分享按钮时,图片未在 Facebook 上分享
【发布时间】:2020-08-13 12:43:59
【问题描述】:

当用户点击 Facebook 分享时,我想分享一个链接“og:image”按钮的图片,但不是分享此图片

如下所述,我为 Facebook 分享按钮添加了一些元标记。

<meta property="og:url"                content="https://www.mydomain.co/" />
<meta property="og:type"               content="website" />
<meta property="og:title"              content="KIWI" />
<meta property="og:description"        content="How much does culture influence creative thinking?" />
<meta property="og:image"              content="https://www.mydomain.co/KiwiSite/img/hero-bg.png" />
<meta property=" og:image:width "              content="650" />
<meta property="og:image:height"              content="315" />
<meta property="og:image:alt"              content="Not found image" />

我有以下链接

任何人都知道如何分享我们在“og:image”标签上应用的图像。

【问题讨论】:

    标签: facebook-share share-button


    【解决方案1】:

    看来您的代码应该可以正常工作。这是我网站上的元属性标签...

    <meta property="og:image" content="https://www.RevoltLib.com/image/revolt-lib.jpg">
    

    这是分享网址...

    Share RevoltLib.com on Facebook

    结果如下:

    效果很好!

    如果您仍然不确定,何不查看Official Facebook Sharing Debugger。这应该会为您提供有关 URL 中问题的更多有用信息。例如,目前为止我们共享的 URL 的状态似乎很好......

    https://developers.facebook.com/tools/debug/?q=revoltlib.com

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-06-12
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多