问题
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