Active Sharing Setup

This section contains basic instructions for setting up active sharing via embedded meta tags.

To set up your application:

  1. Locate the folder for your programming language from the Facebook Code Example (available at zip download) zip file and copy the contents to your project folder.
  2. Open the Ooyala Facebook usage file Facebook Code Example (available at zip download).
  3. Copy the contents to your application.
  4. Make sure to include the imported file.
  5. Insert the return value of the head prefix method as an attribute of the HTML head tag. For example:
 <head prefix="og: fb: video:">
  6. Insert the meta tags under the HTML head tag. For a description of these tags, see Sharing Video on Facebook. For example:
    <meta property="og:type" content="video.other" />
    <meta property="og:title" content="Bhangra Empire - Jashan 2011" />
    <meta property="og:description" content="dancing" />
    <meta property="og:url" content="iamaurl">
    <meta property="og:image" content="" />
    <meta property="og:video" content="" />
    <meta property="og:video:secure_url" content="" />
    <meta property="og:video" content="" />
    <meta property="og:video:secure_url” content=" " />
    	<meta property="og:video:type " content="application/x-shockwave-flash " />
    	<meta property="og:video:height " content="480 " />
        <meta property="og:video:width " content="640 " />	
  7. If you want to add a share button, add the following to your page:
 <a name="fb_share"></a>
<script src="" type="text/javascript"></script>
  8. Run and test your application.