简体   繁体   中英

How to post to Facebook timeline using format like pinterest?

When you share a photo from a Facebook album it gets diplayed "full width" layout in the timeline (about 567px wide) with a caption below.

I also noticed that shared images from pinterest get shown im a format with an image and caption underneath.

But when I share a photo from elsewhere using the "picture" property of the feed dialog, or a page containing an og:image tag, it always gets displayed in thumbnail (116x116)|text layout.

The images from pinterest are posted as actions, so that may be a clue.

Feed dialog will not get you this customization you will need to use Open Graph actions.

https://developers.facebook.com/showcase/pinterest/

Pinterest图片布局

Also for full width photos from applications, the user must have generated the photo from the app so that you can utilize "User Generated Photos"

For example the following is from the Tumblr application

Tumblr用户生成的照片

https://developers.facebook.com/docs/opengraph/howtos/adding-photos-to-stories/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM