strapi-plugin-seo icon indicating copy to clipboard operation
strapi-plugin-seo copied to clipboard

is metaImage missing in api?

Open cgiupponi opened this issue 2 years ago • 2 comments

I have set up a demo installation and filled the seo meta fields but when I call the endpoint with:

api.example.com/api/articles?populate=*

I get:

...
"SEO": {
"id": 1,
"metaTitle": "Meta title",
"metaDescription": "Lorem ipsum dolor sit amet fusce nostrum onvallis nihil dui iusto perspiciatis occaecat",
"keywords": "key1, key2, key3",
"metaRobots": "follow",
"structuredData": null,
"metaViewport": null,
"canonicalURL": null
}
...

and image is missing.

I'm sure I have added it to my article: Screenshot 2023-10-05 alle 14 44 45

cgiupponi avatar Oct 05 '23 12:10 cgiupponi

UPD: after some more googling it's just: https://forum.strapi.io/t/how-do-i-use-the-seo-plugin/20638/2

it needs to use url like this

api.example.com/api/articles?populate=*,seo.metaImage

Did you manage to find some solution / workaround?

I also faced same problem...

image

ilnytskyi avatar Feb 22 '24 07:02 ilnytskyi

I faced to the same proble.

ziayamin avatar May 27 '24 07:05 ziayamin