Support for twitter card
Twitter card
When sharing a post on twitter, social media, or messenger, the title is displayed along with the representative photo.
Is this possible in CSR (SPA)?
In CSR, react-helmet or document is used to change the meta tag of the html header.
Javascript bot
To read the updated meta tag in the CSR, the social media platform must support javascript loading.
However, most of them do not support javascript loading.
Seeing the comment that CSR applied twitter card using react-helmet,
This is the conclusion of a day of shoveling.
SSR
The conclusion is to apply as SSR.
Even if CSR is applied in the twitter card, Javascript loading is not supported in other messengers or platforms.
Sharing is important, so I switch back to SSR.
Leave Support for twitter card to:
Read more #hive-152717 posts
Best Posts From suseona
We have not curated any of pishio's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.
More Posts From suseona
- Grid Bot Trading
- Write on blog.suseona.com and Get 100% Upvotes from @pishio!
- Security Update: Stronger Protection for Your Hive Keys
- AI Summary and Q&A Feature Now Available on blog.suseona.com
- AI Summary and Q&A Feature Now Available
- Suseona Weekly Contest – Week 1
- blog.suseona.com updates
- Hive Note MCP in the Claude Code
- Discovering Hive Note!
- The Rollercoaster of Trading: Chasing Profits in the Digital Wild West