Have you ever wondered how websites show up in Facebook search results? More and more people are using facebook as an alternative to traditional search engines, if you're not in their results you could be loosing valuable potential customers.
Here we're going to take a look at the Facebook Graph API and how to add a few snippets of code to your site to add it to the Open Graph and, ultimatley, Facebook search results.
To get your site indexed by facebook you need to add 4 meta tags to your site (or your sites template if you are using a CMS), title, type, image and url. These come in the form of:
<meta property="og:title" content="Relevance Web Marketing"/>
<meta property="og:type" content="company"/>
<meta property="og:url" content="http://www.relevanceweb.com/"/>
<meta property="og:image" content="http://www.relevanceweb.com/external/relevance/rel_logo.png"/>
For completeness, we are also going to add tags for site name, admins and description
<meta property="og:site_name" content="Relevance Web Internet Marketing Company"/>
<meta property="fb:admins" content="582160342"/>
<meta property="og:description" content="Is your website being found? Are you sure? Relevance Web Marketing SEO company in France and Monaco increases visibility qualified visitors conversions and sales immediately. Give us a call and don't look back."/>
Change the information in all the tags to match your website. Click on the link for imformation on how to find your facebook user ID to fill in the admin tag,
Once that is done, paste the code into your sites template file/pages above the closing </head> tag. You can then test the code using the oficial Facebook URL Linter which will tell you if there are any problems.