Blog Authors

05May

Get Your Website to Show in Facebook Search Results

Get Your Website to Show in Facebook Search Results

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.

Written by Robert Went, Posted in Web Development

About the Author

Robert Went

Robert Went

Rob joined Relevance in 2006.

He specialises in website and server speed optimisation, site accessibility and social integration. Working together with core members of the Joomla! development team, he also loves working with Wordpress, Magento and other open source applications.

A natural problem solver who comes up with ingenious solutions to unconventional problems.

Comments (2)

  • Genet Getachew

    Genet Getachew

    28 November 2012 at 19:50 |
    thank you
  • Genet Getachew

    Genet Getachew

    28 November 2012 at 19:50 |
    thank you

Leave a comment

Please login to leave a comment. Optional login below.