I am using the Legacy REST API to publish MP3 attachments to user streams (as the new graphical API does not yet support audio). This makes sound in Facebook’s own media player, as expected. However, since the player is a component of Flash, it is not displayed on iOS devices and does not request a Flash update. Instead, I would like to provide a fallback URL so that the user can go to an external site using the HTML5 audio player.
Is there any way to do this? By delivering a parameter hrefin an object attachment:
access_token = 1234567890.....,
format = 'json',
privacy = {
value: 'EVERYONE'
},
message = 'Message goes here...',
attachment = {
href: 'http://www.google.com',
media:[{
type:'mp3',
src:'http://www.looptvandfilm.com/blog/Radiohead - In Rainbows/01 - Radiohead - 15 Step.MP3',
title:'15 Step',
artist:'Radiohead',
album:'In Rainbows'
}]
}
or in the post object itself:
access_token = 1234567890.....,
format = 'json',
privacy = {
value: 'EVERYONE'
},
message = 'Message goes here...',
href: 'http://www.google.com',
attachment = {
media:[{
type:'mp3',
src:'http://www.looptvandfilm.com/blog/Radiohead - In Rainbows/01 - Radiohead - 15 Step.MP3',
title:'15 Step',
artist:'Radiohead',
album:'In Rainbows'
}]
}
doesn't seem to have any effect ...
, flash, SWF- ?