• Resolved wicaodian

    (@wicaodian)


    I am using rest api to post articles on my website, everything was working fine until I don’t know what I did with Yoast and now it is missing these properties

    <meta property="og:image" content="[URL WAS HERE]" class="yoast-seo-meta-tag" />
    	<meta property="og:image:width" content="1003" class="yoast-seo-meta-tag" />
    	<meta property="og:image:height" content="560" class="yoast-seo-meta-tag" />
    	<meta property="og:image:type" content="image/jpeg" class="yoast-seo-meta-tag" />

    Before everything was working fine, every article we publish using rest api was working fine and all these properties were auto generating but now it’s not publish but when I edit article and simply click update, all properties are there without me doing anything.

    Please tell me how can I fix this

    • This topic was modified 1 year, 9 months ago by wicaodian.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Maybellyne

    (@maybellyne)

    Hello @wicaodian

    Thanks for reaching out about og:image. Our?Rest API?can be used for accessing Yoast SEO metadata headlessly; the REST API returns all SEO metadata (meta tags, schema.org data) for any URL on a site. However, this is a bit technical, and outside the scope of support we offer here. You may want to refer to this article from our developer documentation for some pointers – https://developer.yoast.com/customization/apis/rest-api

    Thread Starter wicaodian

    (@wicaodian)

    Problem is that Everything was working fine, nothing changed on REST API Yoast stopped added og:image into newly posted articles?
    But it will add these meta tags once I edit article and simply click update without doing anything?
    Why is that?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Yoast og:image is missing’ is closed to new replies.