【问题标题】:Facebook Share showing small square thumbnail instead of large rectangle (og image is correct size)Facebook 分享显示小方形缩略图而不是大矩形(og 图像大小正确)
【发布时间】:2014-11-09 01:44:40
【问题描述】:

当我尝试从http://www.giftry.com 分享时,我得到的是小方形缩略图而不是大矩形。打开图元标记中链接的图像大于 Facebook 推荐的 1200x630。

我试过使用调试器,但没有错误,一切看起来都正确。对我能做什么有什么想法吗?

这是我的 og 元标记:

    <meta property="og:title" content="I need your gift ideas!">
    <meta property="og:site_name" content="Giftry">
    <meta property="og:url" content="http://www.giftry.com">
    <meta property="og:description" content="Come help me at Giftry — a place where gift givers unite to curate giftries full of fabulous gift ideas. Whether you create your own giftries or explore gift ideas for others, Giftry makes it easy to find ‘just the thing’, for anyone and any occasion. Now, let’s get gifting!">
    <meta property="og:image" content="http://ec2-static.giftry.com/img/giftry_gift_surprise_large.jpg">
    <meta property="fb:app_id" content="356150731192079">

【问题讨论】:

  • 我认为你错过了og:type 将其设置为文章,它应该可以工作
  • Large og:image in feed的可能重复
  • 看起来你是对的@ThomasDavidPlat。在发布之前我搜索并找不到任何东西。看起来 Facebook 已将我降级为小缩略图,因为他们喜欢它。
  • 我试过你的建议@AdamAzad,看起来还是一样。我会再给 Facebook 一天,看看它是否有任何改变。
  • 这就是我退出 facebook 开发的原因。我尽可能避免它。我发现 API 非常不一致,并且您没有得到适当的通知,它们似乎只是发生了变化,而且您经常做某事但不知道为什么某事(不)工作......不过祝你的问题好运......跨度>

标签: facebook facebook-opengraph facebook-sharer og-meta


【解决方案1】:

似乎我找到了解决此问题的方法。当我通过调试器删除 fb:app_id 并更新 url 时,矩形图像按预期显示。然后我创建了新的 fb:app_id,它也可以正常工作。如果我转回我的旧应用程序 id facebook 再次显示小方形缩略图。

【讨论】:

    猜你喜欢
    • 2013-09-21
    • 2011-05-02
    • 1970-01-01
    • 1970-01-01
    • 2014-11-20
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-05-23
    相关资源
    最近更新 更多