Topic-icon No picture in Facebook share

Active Subscriptions:

None
8 years 1 month ago #57354 by dageke
Hello again. Two questions:

1. One of my new articles doesn't share right on Facebook. There is no picture...Any idea why?

www.thailandstidende.com/component/k2/it...a-ukentlig-jungeltur

2. How do I put a default picture in Facebook shares of articles that don't have any pictures? Or at least prevent Facebook from showing the wrong picture? Some kind of default OG code perhaps?

www.thailandstidende.com/component/k2/it...migrant-visum-doblet

Regards
The topic has been locked.
Support Specialist
8 years 1 month ago #57357 by mel
Replied by mel on topic No picture in Facebook share
#1 When I initially went to the Open Graph Debugger for this link, there was an error on the page. I re-scraped the information and see an image now. I just wanted to point out that there are two og:image tags on that page, one from K2 and one from JFBConnect. In this case, they're just different sizes of the same image so not a big deal - Facebook just picks the "best" one. Are you still having a problem on any other pages after re-scraping?

#2 There is a setting for defaults that you can set in the JFBConnect backend > Open Graph > Configuration > Defaults setting. Once you set a default image (make sure that it's a sufficient size), then please make sure that you re-scrape the pages you're testing with the Debugger. Until Facebook scrapes the pages or you do it yourself manually, any changes won't take effect.

-Melissa
The topic has been locked.
Active Subscriptions:

None
8 years 2 weeks ago #57751 by dageke
Replied by dageke on topic No picture in Facebook share
Hello again,

I managed to set a default image for Facebook sharing. The problem now is that this image appears for all articles, also those that have their own image. When I paste in an article's url on my Facebook page, I get a choice of pictures to use, but when I share by clicking the Share button in my article, I have no choice and will automtically get the default image. Is there a fix for this?

For instance this article

www.thailandstidende.com/component/k2/it...-verdensrekordholder

When I click Share I get the default image.
The topic has been locked.
Support Specialist
8 years 2 weeks ago #57757 by alzander
Unfortunately, that's how Facebook works. The Open Graph specification states that the order of the images in the HTML is how they should be used. JFBConnect always sets the default image as the last og:image in the page so it should be the 'least' priority. However, Facebook will generally look at all images that are specified and pick the largest image, based on its dimensions.

There's not a way, with Facebook, to specify a priority. All I can recommend is that your default image has a good size, but isn't huge, and all images within your content should be even larger so that Facebook chooses those instead.

I hope that helps explain, but if you need anything else, please let us know.

Thanks,
Alex
The topic has been locked.