I have the same problem, I tried Vitor's function in gatsby-ssr.js and it didn't work, I'm not importing any external CSS. It's scraping fine in the Facebook debugger and in devtools > elements all meta tags are above the CSS (after I swapped the order of imports in the Layout component) - do you have any other tips?? It's for the landing page of an English language self-study platform for Brazilians and I'm losing way too much time to get this to share correctly on WhatsApp - any advice appreciated - here's the landing page (not promoted/officially live yet - just for testing purposes): portugles.com/
I thank you from the bottom of my heart. Even after a day of debugging i couldn't locate the problem in SEO, all this got resolved just minutes after reading you article. Thank you very much.
Hey Luciano, thanks for sharing. In our project we couldn't fix the problem only with Helmet. What I did was:
gatsby-ssr.js
Sorting the Head components with the
metadata first.Cheers
Very nice, Vitor!
I'll add it to the post as another solution, right?
;)
I have the same problem but reversed: My meta tags are working nicely with WhatsApp, but Telegram is ignoring it... I've tried the @previews bot and:
Have you done something special for Telegram to display the metadata?
Hi Lucis!!
I have the same problem, I tried Vitor's function in gatsby-ssr.js and it didn't work, I'm not importing any external CSS. It's scraping fine in the Facebook debugger and in devtools > elements all meta tags are above the CSS (after I swapped the order of imports in the Layout component) - do you have any other tips??
It's for the landing page of an English language self-study platform for Brazilians and I'm losing way too much time to get this to share correctly on WhatsApp - any advice appreciated - here's the landing page (not promoted/officially live yet - just for testing purposes):
portugles.com/
Many thanks in advance :)
Found the solution here for anyone who needs:
stackoverflow.com/questions/251009...
I'd never heard of this!! Really helped :)
I thank you from the bottom of my heart. Even after a day of debugging i couldn't locate the problem in SEO, all this got resolved just minutes after reading you article. Thank you very much.
Hello Luciano, thanks for sharing. Just one question:
How did you do that?
Thanks!
I changed how I was importing stuff using React Helmet
Thank you so much, i was debugging this for a long time.
LUCIANO DE DEUS!!!!
Cara muito obrigado pelo artigo, consegui graças a vc!
Orgulho de ter um br ajudando os outros assim!!!!!
Poxa cara, valeu!
Descobri esse problema praticamente sozinho e imaginei que alguém sofreria também no futuro ;)
It works!!! the last thing I could think of was the styles on top of the page.
thanks for sharing the solution.