定义如何显示开放式图表帖子 [英] Defining how an Open Graph Post is displayed

查看:74
本文介绍了定义如何显示开放式图表帖子的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在将自定义Open Graph对象/操作成功发布到Facebook.

I'm posting a custom Open Graph object/action to Facebook successfully.

我们的生产和登台环境每个都有自己的FB应用程序,它们的配置相同(除了在我们的生产应用程序中,对象和操作均得到批准,我们的应用程序详细信息"页面也是如此).

Our production and staging environments each have their own FB app, which are configured identically (except that in our production app, objects and actions are approved, as is our App Details page).

不过,由于某种原因,分期发布时会在照片下方贴上标题/说明较大的照片.生产岗位的图像较小,所有文本都在右侧.

For some reason though, staging is posting with a larger photo with title/description underneath. Production posts have a smaller image with all text to the right.

我不记得在登台上做任何特别的事情,但是最后,我们希望生产中的帖子看起来像他们在登台上一样.知道我需要调整哪些设置吗?

I don't remember doing anything special on staging, but in the end, we want posts from production to look like they do on staging. Any idea which setting I need to tweak?

更新:我了解了具有较大图像的故事称为图像主导的故事".关于如何获得这种新布局,上面的链接中唯一提到的是:

UPDATE: I've learned the stories with larger images are called "image-led stories." The only thing that's mentioned in the above link as to how to get this new layout is:

Open Graph帖子使用大于200 x 200px的图像尺寸生成的更大的新闻提要故事布局.

Larger News Feed story layout generated by an Open Graph post using an image size larger than 200 x 200px.

使用FB调试器,您可以看到FB抓取的两个图像均为600x600:

Using the FB debugger, you can see that both images scraped by FB are 600x600:

  • Story from production (small layout)
  • Story from staging (large layout)

推荐答案

令人沮丧的是,您没有可以调整的设置,关于帖子在某人的新闻源中的显示方式完全不受您的控制.如果您希望使用以图像为主导"的显示样式,则您的照片必须> = 200x200,但除此之外,Facebook会确定其显示方式.

Frustratingly, there is no setting you can tweak, and it's totally out of your control as to how your posts will display in someone's News Feed. If you want the "image-led" display style, your photos need to be >= 200x200, but other than that, Facebook determines how it's going to display something.

几天后,我敲了敲头,在网络上阅读了所有内容,最后放弃了,我才发现了这一点.我们发布了该功能,我只是告诉我的同事我们无能为力.

I found this out after a few days of banging my head and reading everything over the web and finally giving up. We shipped the feature and I just told my coworkers there was nothing we could do.

然后,在我的新闻提要中,我看到了一个同事的帖子,它们的格式都用小图像格式化.当天晚些时候,她发送了一封电子邮件感谢我,因为她对OG与我们网站的集成感到很兴奋,并且她发送的屏幕快照在她的feed中带有大图像.

Then, in my News Feed, I saw a coworker's posts, and they were formatted with the small image. Later that day, she sent an email thanking me because she was excited about the OG integration with our site, and the screenshot she sent had her posts in her feed with the large image.

同一个人,相同的帖子,在两个不同的供稿中显示不同的内容.

Same person, same posts, different display in two different feeds.

这篇关于定义如何显示开放式图表帖子的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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