lr123
lr123

Reputation: 1650

Post an mp3 to a users feed via the Feed Dialog

According to https://developers.facebook.com/docs/reference/dialogs/feed/ one can post mp3s to a users feed by constructing a URL like:

https://www.facebook.com/dialog/feed?+app_id=<APP-ID>+&display=popup&caption=<CAPTION>&redirect_uri=<REDIRECT>&picture=<PICTURE>&source=<MP3-FILE>&description=<DESCRIPTION>

This produces a share dialog, but when the source parameter is added, the file is not embedded on the page (nor is any link to the file given).

I had expected to be able to embed the mp3 like the documentation says. I seem to remember that facebook had it's own player to play embedded mp3 files from the feed - this is not showing up.

Has this functionality been disabled?

Upvotes: 1

Views: 370

Answers (1)

Igy
Igy

Reputation: 43816

I think the API still allows you to attach audio data but Facebook's audio player was removed in 2011 -

To play music inline now, you need to specify a flash player which loads the desired audio as an attached 'video' ( via the same 'source' parameter of the feed dialog )

You could also use a third party like Soundcloud who have a flash player for the content uploaded there

Upvotes: 3

Related Questions