Better facebook like meta details for your website…

By far the easiest plugin to add to your website has to be the facebook like button. With the like button you can share a main domain or individual pages simply by using the configurator in the facebook developers section.

However the results can end up plain and simple in facebook’s news feed:

Verses a more eye catching call to action with the use of facebook’s og meta data:

As you can see with more detail the like becomes more eye catching in the news feed.

Simply by using the Open Graph protocol or og meta tags you can scrape your website to pull certain details like descriptions, featured images, where the page redirects after the like etc. which is not only fantastic for sharing and getting exposure through facebook’s news feed, it is also great for attracting search engine spiders to index your website pages! If you use WordPress you can use conditional statements as well to pull different information on single posts, category or pages etc.

By using the code below you can control the information you want:
<meta property="fb:app_id" content="YOURAPPID" />
<meta property="og:type" content="article" />
<meta property="og:title" content="YOURTITLE" />
<meta property="og:url" content="YOURURL"/>
<meta property="og:description" content="YOURDESCRIPTION" />
<meta property="og:image" content="DEFAULTIMAGE" />

More details on facebook og meta tags can be found on in the facebook developers section.

Leave a Reply

Your email address will not be published. Required fields are marked *