Many a time, our web page contains audio and video data, which we will want to share on Facebook when a user likes our page. We can do so with the help of the Facebook Open Graph protocol. It has a specific set of metadata for this purpose. In this recipe, we will show you how to integrate audio/video data of your web page into the social graph.
Read the Integrating web pages into the social graph recipe.
T he following steps will demonstrate how to integrate audio and video:
content.php, and add the following code to it:
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:og="http://ogp.me/ns#" xmlns:fb="http://www.facebook.com/2008/fbml"> <head>