-
Notifications
You must be signed in to change notification settings - Fork 661
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow meta tags to be seen by Facebook & Twitter scraper #181
Comments
Hi @RichardJECooke, Helmet can only be used for social media sharing if used on the server. Because that is what the page scraper will see. If you are using client side only, you can still take advantage of all the great declarative organization in your document head that Helmet offers. |
@RichardJECooke @cwelch5 I had this problem (social media sharing not picking up the tags) and just launched https://headless-render-api.com/ to solve it |
Thanks @cjimmy, here is the specific comment: #26 (comment) |
My meta tags that I set with Helmet can be seen in the page inspector in my browser devtools, but not in the page source (because they're set dynamically in React obviously). So Facebook's share function doesn't see them if I share my page.
Does this mean Helmet (and any React meta tags) cannot be used for social media sharing? Is there a workaround?
(Our website is a React app separate to the server, not like this guy: #26)
The text was updated successfully, but these errors were encountered: