Skip to content

Instantly share code, notes, and snippets.

@colmdoyle
Created April 3, 2011 18:17
Show Gist options
  • Save colmdoyle/900635 to your computer and use it in GitHub Desktop.
Save colmdoyle/900635 to your computer and use it in GitHub Desktop.
Code to demonstrate Embedding on Facebook
<html>
<head>
<title>Hello World</title>
<meta property="og:title" content="An awesome clip!"/>
<meta property="og:type" content="movie"/>
<meta property="og:url" content="http://colmd.fbdublin.com/socialPlugins/videoshare2.php"/>
<meta property="og:image" content="http://colmd.fbdublin.com/socialPlugins/BugsLifeWallpaper800.jpg"/>
<meta property="og:site_name" content="FBDublin"/>
<meta property="fb:admins" content="260300016"/>
<meta property="og:description" content="You should check this out!"/>
<meta property="og:video" content="http://colmd.fbdublin.com/socialPlugins/tangramone.swf" />
<meta property="og:video:height" content="300" />
<meta property="og:video:width" content="300" />
<meta property="og:video:type" content="application/x-shockwave-flash" />
</head>
<body>
<!-- SNIP -->
<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fcolmd.fbdublin.com%2FsocialPlugins%2Fvideoshare2.php&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;font&amp;colorscheme=light&amp;height=35" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:35px;" allowTransparency="true"></iframe>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment