开发者

mp3 uploaded to Facebook isn't showing in Facebook app on iPhone or Android

I'm developing an app that allows the user to upload an mp3 file to a facebook friend's wall. It's all working well. If I look at the friend's profile page in facebook using IE or Safari, I can see the expected text and the play icon for the mp3 is there. I can click the play button and hear the audio. But, if I view the friend's profile through the facebook iPhone or Android app, the text appears but the mp3 isn't there.

I've searched high and low for a solution to this and am now stumped! Any help or guidance would be greatly appreciated.

dialog.attachment = [NSStrin开发者_运维知识库g stringWithFormat:@"{\"name\":\"blah:\",\"caption\":\"%@\",\"description\":\"link text\",\"media\":[{\"type\":\"mp3\",\"src\":\"http://www.blah.com/audio.mp3\",\"title\":\"song name\",\"artist\":\"singer\",\"href\":\"http://www.blah.com/\"}]}", friendsTableView.chosenName, @" "];


Turned out the problem was down to facebook itself rather than my code. My uploaded files are now showing and playing as expected.


Worth noting that for the last day or so, the embedded mp3 audio player in facebook is broken again so uploaded MP3 files are not playing correctly. This has been logged with fb: http://developers.facebook.com/bugs/163200820438523

It's a mis-leading problem as it's easy to think the bug is in your own code.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜