freerange / jam-coop

A platform co-operative for musicians and fans
https://jam.coop
GNU Affero General Public License v3.0
57 stars 2 forks source link

Add page metadata so social networks create nice previews #59

Open chrislo opened 1 year ago

chrislo commented 1 year ago

I think this standard is used: https://ogp.me/

chrislo commented 1 year ago

I added some basic open-graph tags to album pages in c27254d.

We have the basics but I think there's some more things we can do with these, so I'm going to leave this issue open.

floehopper commented 11 months ago

Added from #118:

I noticed a link to a SoundCloud track being displayed in an embedded audio player in a toot in the Mastodon web client which is neat. I'm not entirely sure how this works, but I noticed the SoundCloud page was using a 'music.song' OpenGraph object. See https://ogp.me/#type_music. There's also an audio property that might be relevant if we're not already using it.

Also https://developer.twitter.com/en/docs/twitter-for-websites/cards/overview/player-card