#Fediverse Hive Mind: anybody have a recipe how to mark up #html pages so that when they are shared in #mastodon, they show up nicely in people's feeds with pictures and title etc?
#Fediverse Hive Mind: anybody have a recipe how to mark up #html pages so that when they are shared in #mastodon, they show up nicely in people's feeds with pictures and title etc? 2 comments
@J12t Mastodon reads Opengraph metatags. That's what you need to add to your html code, if I understood your question correctly. You'll have a nice preview card generated in Mastodon when someone pastes a link to your webpage. |
@J12t OpenGraph?
https://ogp.me/
https://leancrew.com/all-this/2023/02/mastodon-and-open-graph/