No thumbnails on Facebook Share

I have this problem always share something on facebook, maybe with a thumbnail, looks better.
Maybe add a function to grab images from the post or video. Or a option in the editor “Upload Thumbnail”

6개의 좋아요

Yes, we want thumbnails! On topic lists and on facebook sharing. You have done for us a great piece of software. Only those thumbnails are missing.

3개의 좋아요

The Discourse choose the first image of the topic to use as a thumbnail. When there are no pictures on the topic, it does not show.

You can manually add a default thumbnail. Add this code in </head>

<meta property="og:image" content="THUMB IMAGE LINK"/>

But what about the video posts?, theres another way to grab the thumbnail of the video maybe?

not really this is what i get in preview (first image)

And this is what it post on fb ( smiley from last reply /post)

1개의 좋아요

Having similar problems trying to promote posts on FAcebook. This is the posts I wanted to share, which the user had added a number of photos for.
http://www.helloforos.com/t/los-protagonistas-de-maria-la-del-barrio-20-anos-despues/17343

Instead, I just get this.

Wow, that image is from the 10th post.

I have no idea what Facebook is doing to pick up that image, but I know that it certainly isn’t Discourse doing it.

1개의 좋아요

Strange. I just tried it again when I was logged in as the page, and not my personal account. And this time it gave me the option to upload an image. Maybe since it was the first time the page was being shared, FB didn’t know how to handle it well.

Perhaps it’s a FB bug? or an issue with the first time Facebook accesses the HTML version of a Discourse page?

I just tried this experiment.

  1. Share a post URL on Facebook with a photo in it. I got a link to the topic, but no photo was shown in the preview.
  2. Refresh the Facebook page without posting the content. This time I saw a default photo.

@charleswalter I have to do those same steps with a non-discourse site. No idea why.

You can see what information facebook is getting from a URL here:

It seems that for a page that facebook hasn’t already scraped you need to click on ‘Fetch new scrape information’ after entering the URL. The same is true if you update the content of a page and want facebook to update its scrape information.

2개의 좋아요

Thx. A little different from other sites I’ve worked on where we explicitly set an og:image. But I guess this makes sense.

여전히 그런 것 같습니다. 내 게시물에 여러 이미지가 있어도 discourse 로고가 표시되고 있습니다 :thinking:

제 생각에는 게시글 이미지가 너무 작아서 그런 것 같습니다. 또한 기본 제공되는 범용 Discourse 로고 대신 사이트에 적합한 더 작은 로고를 설정해 보시기 바랍니다.

2개의 좋아요