简体   繁体   中英

How do I get an mp3 to play in a status update from the Windows Phone?

Facebook has this nice feature, that if I paste the link of an mp3 file into my status update, it generates this nice little mp3 player.

For example, paste this link into your status box, and you will see a song named "intro" play on your Facebook wall.

http://pmtmobile.sergata.net/content/songs/4084_Intro.mp3

All very cool.

However, I'm trying share this link with the WindowsPhone share tasks, and Facebook does not generate the mp3 player for it. I have tried both ShareLinkTask and ShareStatusTask but neither seem to allow attachments.

It seems, that facebook generates an "attachment" for the status update, but I'm not seeing any information in the C# APIs to add attachments to a status share.

How can I make this work?

Try ShareLinkTask instead of ShareStatusTask. Here also you face issue means, you may need to implement Facebook library manually for your application.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM