og:共享链接时忽略图像,尽管在linter中已接受 [英] og:image ignored when sharing link, although accepted in linter

查看:68
本文介绍了og:共享链接时忽略图像,尽管在linter中已接受的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在Facebook上共享指向我自己的网站的链接,因此我在<head>部分中添加了必要的og:标记.

I want to share a link to my own website on Facebook, so I added the necessary og: tags to the <head> section.

在短绒棉衣上检查了它,并显示了我想要显示的所有内容.

Checked it in the linter, and it displays everything I want it to display.

当我实际上要在新闻源中共享它时(例如,将链接复制并粘贴到状态公式中),该图像将被忽略.

When I actually want to share it in the newsfeed (as in copy and paste the link into the status formular), the image is ignored.

以下是示例链接: http://iamschulz.de/video/4

推荐答案

是否违反了图像尺寸要求?如果是这样,调试工具仍会检测到它,但实际上不会在新闻提要中呈现

Does it break the image size requirements? If so it'll still be detected by the debug tool, but won't actually be rendered in the news feed

Images must be at least 50 pixels by 50 pixels. 
Square images work best, but you are allowed to use images up to three times as wide as they are tall.

(例如)100 * 350的图像违反了3:1的比例,因此不会显示.

An image of (e.g.) 100 * 350 won't be displayed because it violates the 3:1 ratio.

这篇关于og:共享链接时忽略图像,尽管在linter中已接受的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆