문제

I use Koala to publish a post with link to a Facebook Group

@graph = Koala::Facebook::API.new(access_token)

@graph.put_connections(group_id, "feed", {
              :message   => post_message,
              :picture   => backdrop,
              :link      => url
            })

I get this post

enter image description here

Instead I have to do this

enter image description here

도움이 되었습니까?

해결책

According to the FAQ of this document Image Optimization for Link Page Posts.

What is the minimum image size required to generate a link share post with a large image?

600 x 315px is the minimum size that we require. However, we recommend that you use images that are at least 1200 x 630px for the best display on retina and high-resolution screens.

What will happen if the image is below the minimum requirements?

If the image is smaller than 600 x 315px, we will render it at 154 x 154px or smaller on mobile or desktop.

enter image description here

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top