Reputation: 566
i'v built a music canvas application and i'm trying to figure out how the Facebook Music and Audio Objects work.
i did everything the Open Graph Music Documentation Page said
here is my open graph meta tags for a song page.
<meta property="og:title" content="artist name - song name" />
<meta property="og:type" content="music.song" />
<meta property="og:image" content="artist image url" />
<meta property="og:url" content="song page url" />
<meta property="og:site_name" content="site name" />
<meta property="og:audio" content="song mp3 url" />
<meta property="og:audio:type" content="audio/vnd.facebook.bridge" />
<meta property="music:musician" content="artist page url" />
<meta property="music:album" content="song album url" />
<meta property="fb:app_id" content="my app id" />
i debugged the url and this is what i'm getting
note: im getting the correct src i just deleted it from the image.
can someone please help..
thanks in advance.
if you look at the image i attached there is no artist name, album name and the title of the song is incorrect (facebook took that title from the mp3 filename) when i try adding go:audio:title
, 'go:audio:artist, 'go:audio:album
it works well but the facebook debugger returns error.
here is the debug information.
Upvotes: 0
Views: 1873
Reputation: 522
Facebook states: "Facebook Open Graph Music is only available to whitelisted partners at this time." Are you whitelisted partner?
Upvotes: 4
Reputation: 50642
Everything looks good. Just make sure that whatever you put in og:url
is the actual page with the <meta>
tags.
All og:url
means is "Completely ignore this page and go over here to find the tags".
Upvotes: 0
Reputation: 3036
og:audio:type should be application/mp3 to play, everything else seems fine to me
Upvotes: 0