-
DescriptionI have finally developed and deployed my personal blog site, on which I have also added meta tags to support twitter card and open graph using As one can see in the log It even recognizes that it found 5 tags, But error's with No card found!!. I believe that my I also have few thoughts, not sure they could be of any help, but here are they
Or if anyone has some other way to resolve this issue, Please Help!!, I am tired looking for solutions and trying to solve this. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Looking at https://www.opengraph.xyz/url/https:%2F%2Fjaygurav.netlify.app%2F/ it says your entries are empty there. Are you generating the URL on the client side (e.g. by relying on |
Beta Was this translation helpful? Give feedback.
-
I faced the same issue, and I solved it by:
Check if your are properly using wrapRootElement and wrapPageElement APIs. The first is “useful to set up any Provider components that will wrap your application” and the second one ”set persistent UI elements around pages”. See Gatsby docs for more info. If you use wrapRootElement and wrapPageElement, don’t forget to implement it both in gatsby-browser.js and gatsby-ssr.js. An example on how to configure both wrapRootElement and wrapPageElement: export const wrapRootElement = ({ element }) => (
<ThemeProvider>
{element}
</ThemeProvider>
)
export const wrapPageElement = ({ element }) => (
<>
<GlobalStyles />
<Navbar />
<MDXStyles>
{element}
</MDXStyles>
<ScrollToTop />
<Footer />
</>
); I'm using Gatsby v5+, Material UI, gatsby-plugin-material-ui, gatsby-theme-material-ui and it's working! |
Beta Was this translation helpful? Give feedback.
Looking at https://www.opengraph.xyz/url/https:%2F%2Fjaygurav.netlify.app%2F/ it says your entries are empty there. Are you generating the URL on the client side (e.g. by relying on
window
orlocation
)? Have you installed and usedgatsby-plugin-react-helmet
? Can you share the code of your SEO component?