I publish music on Facebook wall through my application (demosrbt) by using following api.
https://api.facebook.com/method/stream.publish
Its got published successfully on wall. But I am getting undefined error, while playing song from wall.
attachment format is
{"media": [{"type": "mp3", "src": "http://onspire.onmobile.com/srbt/preview/IDEA_IND/1/6/b/rbt_testclip363_preview.mp3", "title": "title Testing", "artist": "artist Testing", "album": "Testing"}]}`
In embed, src has long value, instead of path
<embed width="300" height="29" flashvars="audio_log=https%3A%2F%2Fwww.facebook.com%2Fajax%2Fapplications%2Fmusicplayer%2Faudio_listen_log.php&show_title=1&fbt_artist=By&fbt_title=Title&fbt_album=Album&fbt_unavailable=Unavailable&src=***1b4419434e4753010941030a0025430d025e1c52045f11461f010a1d0011103442121e56055908445b21382b266d3a2d366f5c4d5a1c111f1f510037080b1446100f1b305e545f6c034208451d0d0b400a4240***&song=Test+Clip363&artist=test+artist363&album=testa+lbum363&width=300&height=29&user=100001643190330&log=no&showErrors=no&div_id=id_4e92f084dfd897660119695&swf_id=swf_id_4e92f084dfd897660119695&browser=Firefox+3.6&post_form_id=a98ccdcf8d075cd10c42139c777402fa&开发者_如何转开发amp;string_table=https%3A%2F%2Fs-static.ak.facebook.com%2Fflash_strings.php%2Ft91545%2Fen_US" wmode="opaque" scale="noscale" salign="tl" allowscriptaccess="always" allowfullscreen="true" quality="high" bgcolor="#FFFFFF" name="swf_id_4e92f084dfd897660119695" id="swf_id_4e92f084dfd897660119695" style="" src="https://s-static.ak.facebook.com/rsrc.php/v1/y2/r/JvWzcSQ5kI0.swf" type="application/x-shockwave-flash">
thanks in advance, to give solutions for the same.
精彩评论