Working example of og:audio:artist and og:audio:album
-
25-10-2019 - |
Question
Can someone identify ONE WEB PAGE where <meta property="og:audio:artist">
and <meta property="og:audio:album">
are actually working to set the Artist and Album when sharing the URL of the page?
I have been banging away at http://www.coises.com/songs/sfcarol.htm for hours, trying every permutation of order of META tags, XML tag formats (even though it’s an HTML page), etc. (Note: though I have a home-grown share button on the page, I’m talking about sharing the URL of the page in the status box on Facebook itself as the test case.)
All I can get is that all words in the title are capitalized, even though it isn’t specified that way, and the Artist and Album are always Unknown. (For another song/page, "8/9/95", even the title won’t show.) The description also doesn’t show when doing the share, though it does show in the posted story.
I tried searching, and I tried places like ReverbNation and SoundCloud, but nobody seems to use the og:audio
tags. (For videos, copying the way YouTube does it appears to work perfectly, http://www.coises.com/songs/risingup.htm being an example.) If I could see just one working example, I suspect I could figure it out.
Solution
My own song pages (e.g., http://www.coises.com/songs/floodplain.htm and most other song pages on my site) are now working examples.
It turns out the problem was simple: og:audio:artist and og:audio:album do not work unless og:audio:title is also supplied. I had assumed that would default to og:title; it seems it must be explicitly specified.
The linter still says the og:audio:{title|artist|album} tags are not allowed, but they work.
OTHER TIPS
Those OG tags still seem to be in beta. below I've included the linter results for five different websites that facebook is in partnership with.
https://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fmog.com%2Fm%2Ftrack%2F57587005