tabalinas / jssocials

Social Network Sharing jQuery Plugin
http://js-socials.com
MIT License
464 stars 104 forks source link

Img on Facebook #158

Closed fvenuto closed 7 years ago

fvenuto commented 7 years ago

Hello. Can someone help me to figure out why on this page the image is not showing on facebook sharing? http://blackliterecords0.exeq.me/bao

On that one is working:

http://blackliterecords0.exeq.me/spacetimeboulevardstoptwo

Ruud68 commented 7 years ago

you set the image for facebook with the og:image metatag. On both pages this is not correct. It should be like:

<meta property="og:image" content="https://onlinecommunityhub.nl/images/opengraph/image-8-tc.jpg" />

you can view what is set in the page source, just search for og:image setting these meta tags is NOT part of the jssocials script.

tabalinas commented 7 years ago

@Ruud68, thanks for the detailed answer!

fvenuto commented 7 years ago

Hi. Thanks for the help. I didn't told that i tried also using the meta tag. But if you look at the page:

http://blackliterecords0.exeq.me/bao there's the image in the head part but the plugin is still getting the white icon of soundcloud as image to share.

Is there a way to set the image on meta as more important than others? Also if there's a better image that fit the requirements in the page.

schermata 2017-07-10 alle 11 16 25 schermata 2017-07-10 alle 11 05 40
Ruud68 commented 7 years ago

it displays just fine (from facebook development tools): image

fvenuto commented 7 years ago

I've tried the same :D So i'll check where can be the problem...

schermata 2017-07-10 alle 18 15 09