• Resolved happyday25

    (@happyday25)


    Hello,

    I noticed that Facebook photo, title, and description previews aren’t working for some of the product pages on my woocommerce site. A generic link will post but that is all.

    When I go to the Facebook debugger to scrape the URLs, the following errors are returned:

    – The ‘og:image’ property should be explicitly provided, even if a value can be inferred from other tags.
    – The following required properties are missing: og:url, og:type, og:title, og:image, og:description, fb:app_id

    The Yoast plugin is set up to grab the default title, description, and image for the product page and I don’t have any other plugins that handle social meta data. I also made sure that my cache was cleared and have the latest versions of WordPress, Woocommerce, and Yoast.

    Any ideas what might be causing this?

    Thank you

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support amboutwe

    (@amboutwe)

    Something on your site has removed the formatting for some of the meta data.

    This is what your site outputs:
    <meta property=og:image content=https://example.com/wp-content/uploads/2017/08/image.jpg>

    This is what is should look like:
    <meta property="og:image" content="https://example.com/wp-content/uploads/2017/08/image.jpg" />

    This is typically caused by a minify, cache or security plugin. Please check the settings of these plugins.

    If you’re unsure which plugin causes the incorrect formatting, we would like to rule out any plugin or theme conflicts that may occur. The fastest way to do this is to?deactivate all non-Yoast plugins and switch to a standard theme?like?Twenty Nineteen.?

    Test this on your development or staging site, if you have one. If not, we recommend using the?Health Check & Troubleshooting?plugin. This plugin allows you to run a conflict check?without affecting normal visitors to your site.

    As we can imagine that you’re unfamiliar with checking for conflicts, we’d like to point you to a step-by-step guide that will walk you through the process:?How to check for plugin conflicts.

    Thread Starter happyday25

    (@happyday25)

    Got it, based on the information you provided, I turned off the minify settings on my site and everything works now. Thank you for your help!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Facebook Open Graph not working’ is closed to new replies.