Topic-icon Need help with Open graph OG image

Active Subscriptions:

None
10 years 3 months ago #40508 by dcasmr
Hi,
I am having issues with the og:image. Often, the default facebook is used instead of the images with the article.
I have Jreviews 2.4.12.4 and JFBConnect 5.2.2
In some cases, when I try to share a Jreviews listing or any other article instead of pulling the images with the articles, the default facebook image is being used...
See here: leburkina.net/restaurants/restaurant-glacier-glory-ice (click on button Partager)
In other cases, the image is pulled without issues.
See here:
Here is my site: www.leburkina.net.
I was told on the Jreviews side that I have duplicate og tags being loaded/
<meta property="og:image" content="leburkina.net/media/reviews/photos/origi...-74-1390063428.jpg"/>
<meta property="og:image" content="leburkina.net/templates/rt_paradigm/images/logo/logo-og.png" />
How do I remove the second one? I believe that I put the logo-og.png image just in case when there is no image to be used it will be used instead... However, if it is causing conflicts, I won't use it.
Thanks
The topic has been locked.
Support Specialist
10 years 3 months ago #40525 by alzander
That second og:image tag is *not* coming from JFBConnect. I'm not sure how you inserted it, but if you don't want it there, you'd need to remove it the same way you added it.

As for understanding what image Facebook is using, and why, you can use their Facebook URL Debug Tool:
developers.facebook.com/tools/debug/og/o...nt-glacier-glory-ice

On that page, there is a notice that the first image seen is too small, so they're using the 2nd one. In that case, it's good to have a backup/default image, or else Facebook would randomly pick whichever one it wanted.

I hope that helps explain,
Alex
The topic has been locked.