开发者

How does Facebook Music Object works?

开发者 https://www.devze.com 2023-04-07 12:50 出处:网络
i\'v built a music canvas application and i\'m trying to figure out how the Facebook Music and Audio Objects work.

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'm not getting any erros but..

i debugged the url and this is what i'm getting

  • no artist name.
  • incorrect song title.
  • no album name.
  • when i publish the song url on my facebook status i'm not getting any audio player.

How does Facebook Music Object works?

note: im getting the correct src i just deleted it from the image.

i'm trying to figure out how to deal with Open Graph beta Music Object for 2 days now.

can someone please help..

thanks in advance.

edit:

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.

How does Facebook Music Object works?

How does Facebook Music Object works?


Facebook states: "Facebook Open Graph Music is only available to whitelisted partners at this time." Are you whitelisted partner?


og:audio:type should be application/mp3 to play, everything else seems fine to me


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".

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号