After many attempts to use FB.ui (using the "feed" method) in order to publish a post with a embedded SWF file, I can't quite understand why it is failing to do so when using a self-hosted file.
Here is the fiddle:
The snippet above works very well when using a link that points to a YouTube video, like this one:
It results on a post that has a embedded/in line, playable movie.
However, it fails (it only shows a simple image as the attachment) when I change the source parameter to a video like this:
(Which, btw, belongs to this blog post: Javascript Facebook Graph API: Posting SWF To Wall/Feed)
I've also tried this with my own Facebook App, hosted code, and SWF file. The results are the same. The strange part is that the videos or SWF files work when used on the Open Graph meta tags (og:content). If I share a page with some video on those tags, the video gets embedded. This same video fails when used with the javascript API.
What am I doing wrong? Does Facebook treat the Youtube videos as a special case? Does it have anything to do with http headers on the (SWF) response?
Thanks in advance.