• Hi All,

    I have searched the forums and muddled through 130+ topics regarding my problem and have not found a resolve. I am using 4.8 with All in One SEO, Jetpack and A2 Optimized and the 2017 theme. This is the ONLY WP install I am having problems with. When I scrape the site at Facebook, it returns the wrong photo for sharing on MOST pages. I had one page that actually was fine for 24 hours until I debugged it again, and it changed without making any changes to the site.

    Here are the results from Facebook:
    Facebook scrape

    All of these attributes are defined as far as I can tell. What steps do I take next?

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • When I scrape the site at Facebook, it returns the wrong photo for sharing on MOST pages.

    Are you using the core Featured Image or some custom form for the featured image?

    AllinOne SEO plugin and many others look for the Featured Image image when setting the opengraph meta tag.

    If you are using the core Featured images, I suggest you to try to:

    Change your meta property to use the ACF field:

    <meta property=”og:image” content=”<?php $featuredImage = get_field(‘featured_image’); echo esc_url( $featuredImage[‘url’] ); ?>” />

    Thread Starter richfaraone

    (@richfaraone)

    @a2hostingrj, where would I find this setting? I have no custom forms. I’m creating the pages, adding featured images and that’s it.

    @richfaraone

    Can you try to disable the 2017 theme, and then try again if the preview is correct?

    where would I find this setting? I have no custom forms. I’m creating the pages, adding featured images and that’s it.

    In the header file of the theme

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Facebook not showing the correct previews’ is closed to new replies.