The Facebook Software Developer Kit allows videos shared to Facebook news feeds or wall posts to play back in Facebook, within the Ooyala player. The Developer Kit leverages Ooyala's extensive APIs to add descriptive metadata to your video pages.
By default, when the Facebook option in the player is enabled and activated by a user, a link will be shared. Facebook will auto-populate the shared link with the Page URL, Title, and Description which it gathers from meta tags on the page. With the use of the Facebook Sharing SDK, you can provide Facebook with video specific metadata, allowing not just the page, but the specific video to be shared. Before making use of the Facebook Sharing SDK we suggest you review the available Ooyala tutorials and materials on Facebook Social Sharing. Each of these links will provide a helpful overview of what will be automated by the Facebook Sharing SDK.
The Facebook Sharing Software Developer Kit generates a HTML header for the page which contains descriptive information about the video or channel. The code to generate Facebook compliant embeds is provided in the form of server-side scripts which will be executed when a particular webpage is loaded. Below is an example of the HTML header that The Facebook Sharing SDK will generate for your pages.
Example:
<meta name="medium" content="video" />
<meta name="title" content="Title of Video" />
<meta name="description" content="Description of Video" />
<link rel="image_src" href="http://ak.c.ooyala.com/BqYWpjMTqo2JxLQBntWVV38XyQyVO3c4/R9h3a3wTes9kt5iH5hMDoxOjA0O88asB" />
<link rel="video_src" href="http://player.ooyala.com/player.swf?embedCode=BqYWpjMTqo2JxLQBntWVV38XyQyVO3c4&keepEmbedCode=true"/>
<meta name="video_height" content="236" />
<meta name="video_width" content="420" />
<meta name="video_type" content="application/x-shockwave-flash" />
For more information and guidelines for these video meta tags, please review this section on configuring meta tags for Facebook Share.
Download the Facebook Sharing Software Developer Kit for C#
Download the Facebook Sharing Software Developer Kit for PHP
Download the Facebook Sharing Software Developer Kit for Ruby
Download the Facebook Sharing Software Developer Kit for Python
Download the Facebook Sharing Software Developer Kit for Java