带有音乐附件的Facebook提要

| 嘿,我尝试使用带有.mp3文件附件的Javascript SDK发布Facebook食物,我的代码如下: 用于初始化facebook api:
<script type=\"text/javascript\">
  window.fbAsyncInit = function() {
    FB.init({
      appId  : _cfg.fbAppId,
      status : false,
      cookie : false,
      xfbml  : true
    });

    FB.Canvas.setAutoResize();
  };

  (function() {
    var e = document.createElement(\'script\');
        e.src = document.location.protocol + \'//connect.facebook.net/en_US/all.js\';
        e.async = true;
    document.getElementById(\'fb-root\').appendChild(e);
  }());
</script>
然后我有以下代码发送提要:
FB.ui({
  method: \'feed\',
  attachment: {
    media:[{
      \'type\' : \'music\',
      \'src\' : \'http://media.*****.com/files/test.mp3\',
      \'title\' : \'this is a test mp3 file\',
      \'artist\' : \'test artist\',
      \'album\' : \'Test Album\'
    }]
  },
  display: \'page\'
});
对话框打开时,它只显示我   不允许输入“音乐” 任何想法如何解决这个问题?我所希望的就是能够将提要与mp3文件一起发布,以便朋友可以在新闻提要中查看提要并收听该文件。 谢谢。     
已邀请:
music
是不允许的类型。我认为
mp3
是:
FB.ui({
  method: \'feed\',
  attachment: {
    media:[{
      \'type\' : \'mp3\',
      \'src\' : \'http://media.*****.com/files/test.mp3\',
      \'title\' : \'this is a test mp3 file\',
      \'artist\' : \'test artist\',
      \'album\' : \'Test Album\'
    }]
  },
  display: \'page\'
});
    

要回复问题请先登录注册