How to use Facebook Open Graph META Tags
Open Graph tags are added to your Website via Meta Tags.
The type of tags used should represent the content of the page. So, your home page tags would contain content about the site as a whole, and the tags on a page or blog post would focus on the content of that particular post.
The following four tags are required by Facebook:
- og:title
- og:type
- og:image
- og:url
Optionally, but recommended, you should add these additional tags:
- og:description
- og:site_name
- fb:app_id
Location of the these tags.
You’ll need to place these meta tags in the <head>
of your HTML file. Don’t forget to substitute the values for your own.
So, here is an example of my site.
<meta property=”og:title” content=”GoSharePoint”>
<meta property=”og:url” content=”http://www.gosharepoint.co.uk/”>
<meta property=”og:description” content=”SharePoint Consultancy and Migration Services”>
<meta property=”og:type” content=”website”>
<meta property=”og:image” content=”http://gosharepoint.co.uk/onewebmedia/Facebook_200x200.jpg”>
<meta property=”fb:app_id” content=”0123456789″/>