大og:提要中的图片 [英] Large og:image in feed

查看:115
本文介绍了大og:提要中的图片的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经注意到,facebook用两种不同的方式在用户的供稿中显示带有图片的打开的图形故事:一种带有小图片,其旁边带有标题和说明(

I've noticed there are two different ways facebook shows an open graph story with an image in a users' feed: one with a small image and the title and description next to it (example), and one with a larger image with the title and description beneath it (example).

通过教程,我能够生成大图像.但是,既然我要离开教程并设计自己的脚本,我的帖子总是以小图像显示.

Following a tutorial, I was able to generate the large images. However, now that I'm leaving the tutorial and designing my own script, my posts are always shown with the small image.

任何人都知道是什么原因造成的?我很确定这两种方法都使用<meta property="og:image" content="someimage.jpg" />

Anyone has an idea what's causing this? I'm pretty sure both methods use <meta property="og:image" content="someimage.jpg" />

推荐答案

要获得较大的图像格式,您的图像必须至少为200x200.但是,使用新新闻Feed 即将推出,您将希望扩大图片的大小. Facebook现在建议使用 1200x630图片.

In order to get the large image format your images must be at least 200x200. However, with the new News Feed rolling out soon, you'll want to make your images even larger. Facebook is now recommending 1200x630 images.

请注意,即使您使用的图像如此之大,Facebook也会仍然以较小的图像格式显示您的故事. Facebook尝试通过持续运行A/B测试来自动优化向人们显示的格式,因此您的帖子可能以任何可用的图像格式显示.

Note that even if you are using an image this large, Facebook may still display your story with a smaller image format. Facebook attempts to auto-optimize the format that it shows to people by continually running A/B tests, and so your posts may show up in any of the available image formats.

我们最近写了一个博客文章,其中显示了不同的图像格式,您会发现有帮助.

We recently wrote a blog post showing the different image formats which you may find helpful.

这篇关于大og:提要中的图片的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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