Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Niall Kennedy

    (@niallkennedy)

    If the Facebook plugin for WordPress has output the expected og:image markup but Facebook is not parsing the markup in the way you expected then you likely have an issue with Facebook parsing, not this specific WordPress plugin.

    Try the Facebook URL debugger to highlight errors encountered by Facebook indexing the page.

    If you believe the results are incorrect filing or following Facebook debugger bugs may help.

    Thread Starter rick4him

    (@rick4him)

    @niall

    Thank for the comment. The problem is there are multiple images being selected instead of just the featured image.

    I’d like just the featured image to be the one that is shared.

    Plugin Contributor Niall Kennedy

    (@niallkennedy)

    Facebook looks for up to three images on each page to share. If someone copy-and-pastes a URL into a Facebook status composer they can select one of up to three images. An unattended share uses the first eligible image.

    Facebook builds a list of images by looking at the images provided through og:image markup as well as <img> elements on the page. Facebook may skip over an image if it is not a good choice for social sharing: a 50×50 image may be thrown out while Facebook’s parsers keep looking for an image.

    Providing more than one og:image helps provide more options if the first image is considered ineligible by Facebook or someone sharing your URL decides image #2 or #3 better represents the piece of the story they would like to share.

    You can always act on the fb_meta_tags filter to customize your Open Graph protocol markup.

    Thread Starter rick4him

    (@rick4him)

    Niall,

    I specifically create a featured image that I want shown with the article and is sized correctly. This image is the one that is usually shown but for some reason it’s changed.

    Also I use the Yoast seo plug in and I was under the impression that plug in over rode the facebook one. Can you confirm? If not can you tell if I have two plugins trying to put in the OG tags?

    Thanks so much.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Not using featured image as og:image’ is closed to new replies.