• Resolved Kybernetik Services

    (@kybernetikservices)


    Dear Yoast Team.
    I’m the author of Quick Featured Images. The goal of my plugin is to replace or add the featured image by rules, programmatically.
    A user reported here an issue with in conjunction with Yoast SEO and the og:image tag.
    When Quick Featured Images replaces the featured image, the previous og:image will still be displayed by Yoast SEO until the post is updated manually.
    My question is, if there is a way to force Yoast SEO programmatically to update the og:image after Quick Featured Images has replaced the featured image. Is there a function or method I can call to achieve this?
    Thank you in advance for helping to make Quick Featured Images more compatible with Yoast SEO.

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Michael Ti?a

    (@mikes41720)

    Hi @kybernetikservices

    Thanks for reaching out!

    Our functional specification for the open graph tags outputs an og:image tag based on the following hierarchy:

    -A user-defined image “Facebook image” in the Social tab of the Yoast metabox.
    -A user-defined “Featured image” for the page (only for posts).
    -A prominent image from the page’s content.
    -The “Social default image” from the template in Search Appearance.
    -The site’s fallback/default social image (set at SEO > Social > Facebook > Default image).

    We understand you have a plugin called ‘Quick Featured Images’ and are wondering how to update the og:image tag. Please do check out our metadata API for the open graph presenters if you would like to modify the default output – https://developer.yoast.com/customization/apis/metadata-api/#opengraph-presenters

    telsenome

    (@telsenome)

    Hi @mikes41720, I’m joining the conversation. I don’t understand 100% what’s possible to do with your metadata API. Are you saying Yoast has a function that the Quick Featured Images plugin can call when changing a featured image so the OG data is updated accordingly?

    Plugin Support Michael Ti?a

    (@mikes41720)

    Hi,

    We’re not familiar with the exact code in the Quick Featured Images plugin, but for developers that would like to manipulate the og:image tag to have it output something else aside from the default hierarchy that is set within the Yoast SEO plugin for the open graph image, it can be modified or extended with the filter/presenter discussed in the Metadata API – https://developer.yoast.com/customization/apis/metadata-api/#opengraph-presenters

    Plugin Support Michael Ti?a

    (@mikes41720)

    Hi,

    This thread has been marked as resolved due to lack of activity by original poster.

    If you are not the original poster but have a similar issue, please open a new request.

    I solved the problem using Yoast SEO Helper.

    1) Install Yoast Test Helper Plugin. (You will find it in tools > yoast test)
    2) Click on “Reset indexables tables & migrations”

    @antoniodecarlo, that’s really cool. Will try it!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘og:images tag not updated with Quick Featured Images’ is closed to new replies.