The Facebook Open Graph protocol allows us to specify how to represent our web page on its network when a user likes our page. This is done with help of the
<meta> tags present in our web page. We can configure them to make our web page appear in relevant Likes and Interests sections of a Facebook users' profile so that they are able to relate to our web page in a better manner. Here, we will show you how to do this:
The following steps will demonstrate how to integrate web pages:
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> <title>Packt Publishing</title> ...