Html 使用open graph在facebook上共享音频
我正在尝试使用og标签在facebook上共享音频内容,以便音频只能在facebook窗口中播放 以下是我编写的代码:Html 使用open graph在facebook上共享音频,html,facebook,facebook-graph-api,audio,facebook-opengraph,Html,Facebook,Facebook Graph Api,Audio,Facebook Opengraph,我正在尝试使用og标签在facebook上共享音频内容,以便音频只能在facebook窗口中播放 以下是我编写的代码: <html> <head> <meta property="og:url" content="https://www.songdew.com/test_manish.html"/> <meta property="og:image" content="https://s3-ap-southeast-1.amazonaws.com/s
<html>
<head>
<meta property="og:url" content="https://www.songdew.com/test_manish.html"/>
<meta property="og:image" content="https://s3-ap-southeast-1.amazonaws.com/sgmedia/13122/photos/t_ce0284c1ad98c8e79c3f3af7b8c297.jpg"/>
<meta property="fb:app_id" content="335931163095578"/>
<meta property="og:title" content="3. undead redemption" />
<link rel="canonical" href="https://www.songdew.com/test_manish.html"/>
<meta property="og:audio" content="https://s3-ap-southeast-1.amazonaws.com/sgmedia/18037/tracks/f7a43fcd2f8a15a0a1322bf3ac2429.mp3">
<!--<meta property="og:audio:title" content="manish23">
<meta property="og:audio:artist" content="Mkumar">
<meta property="og:audio:album" content="itsnew"> -->
<meta property="og:audio:type" content="application/mp3">
</head>
<title>This is test</title>
<style type="text/css">
#share-buttons img {
width: 35px;
padding: 5px;
border: 0;
box-shadow: 0;
display: inline;
}
</style>
<body>Thiis is a test Page
</body>
</html>
但是,音频不能在那里播放。我不明白这段代码有什么问题。感谢您的帮助 您不能以某种方式共享音频曲目,以便它们立即在线播放 正如页面顶部明确指出的那样,这一次只对有限的Facebook合作伙伴开放 一种可能的替代方法是将其嵌入视频闪存和/或mp4。无论你制作的视频只是播放音频,视频内容只是黑色或其他什么,还是使用视频传输关于音频曲目的附加信息,比如谁是艺术家,可能是封面作品等等,都取决于你