Closed arindammitra06 closed 1 year ago
Hey.
Sorry but that's impossible, as I did mention it right below https://github.com/krokyze/flutter_seo#head:
WARNING: Open Graph (og:title, og:description, etc.) and Twitter Card (twitter:title, twitter:description, etc.) will not work. Read more.
Thank You.
Hi There, Thanks for the awesome package. I am trying to use the library in a web project of mine which does sharing of images. I tries to use the Seo.head() function to add meta tags to the
and I can see the tags in my DOM, but the facebook crawler is unable to find them because it just sees my index.html before rendering. Any idea how this can be solved?The way I added the meta tags. Thanks again for your help.
Seo.head( tags: [ MetaTag(name: 'og:image', content: currentFeed!.imageUrl, ), MetaTag(name: 'title', content: currentFeed!.content, ), MetaTag(name: 'og:title', content: currentFeed!.content, ), MetaTag(name: 'og:description', content: description,), MetaTag(name: 'og:url', content: url,), MetaTag(name: 'og:type', content: 'article',), LinkTag(rel: 'canonical', href: url), ], child: ....