codemonger-io / codemonger

Source code of https://codemonger.io
https://codemonger.io/
MIT License
1 stars 2 forks source link

Add a social thumbnail of a blog post for Twitter #16

Closed kikuomax closed 2 years ago

kikuomax commented 2 years ago

It will be more impressive if a thumbnail image is shown when a blog post is shared on Twitter.

kikuomax commented 2 years ago

This page is helpful. https://css-tricks.com/essential-meta-tags-social-media/

kikuomax commented 2 years ago

Read also this page. https://developer.twitter.com/en/docs/twitter-for-websites/cards/guides/getting-started

kikuomax commented 2 years ago

Read this too. https://ogp.me

kikuomax commented 2 years ago

"blog" is not listed as a value for og:type. https://ogp.me/#no_vertical

Should I use "article" instead?

kikuomax commented 2 years ago

"blog" is not listed as a value for og:type. https://ogp.me/#no_vertical

Should I use "article" instead?

A guy had a similar question. https://stackoverflow.com/questions/14408436/ogtype-article-vs-website-for-individual-web-pages-that-are-not-articles

kikuomax commented 2 years ago

OK, I am going to use "article" anyway.

kikuomax commented 2 years ago

Twitter Card Validator out of service? https://twittercommunity.com/t/unable-to-render-card-preview/173566/20

kikuomax commented 2 years ago

The thumbnail is rendered at least on this site. https://socialsharepreview.com