Post FLV to wall

六月ゝ 毕业季﹏ 提交于 2020-01-05 08:50:50

问题


If I use the Graph API to post something on a user's wall, the "source" attribute doesn't seem to work if the video source is an FLV.

What I expect is for Facebook to wrap their native video player around the FLV file, but it doesn't happen.

Here's how I'm calling the API: http://i.imgur.com/0LpFJ.jpg

Any ideas?


回答1:


You can't include FLV content directly; you need to include your own SWF player, and attach the URL of the player you want displayed (passing the FLV source as a parameter in the SWF URL )




回答2:


http://developers.facebook.com/docs/reference/dialogs/feed/

Source: The URL of a media file (e.g., a SWF or video file) attached to this post. If both source and picture are specified, only source is used.



来源:https://stackoverflow.com/questions/9567872/post-flv-to-wall

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!