Customize Website's Social Sharing Experience with Open Graph Protocol

Hi, Have you ever shared your website/webpage link on social media like Facebook,twitter or even Whatsapp for any purpose it may be marketing or advertising we are not concerned about that.You may have noticed that as you insert any link these social media platforms automatically fetches some image and text snippet from your webpage like this for "www.lpu.in".


And if the snippet contains useless info then ofcourse you want to change it. Basically most social media fetches the title and some text and image but if you want to show customized image/text/description for your website then you can easily do it.



Introducing Open Graph Protocol  by facebook that let you to customize your social sharing experience with just few lines of meta tags.

<html prefix="og: http://ogp.me/ns#">
<head>
<title>The Rock (1996)</title>
<meta property="og:title" content="The Rock" />
<meta property="og:type" content="video.movie" />
<meta property="og:url" content="http://www.imdb.com/title/tt0117500/" />
<meta property="og:image" content="http://ia.media-imdb.com/images/rock.jpg" />
...
</head>
... 
        </html> 

With the addition of these few meta tags and modifying the sources/attributes you will achieve the customization. if you want to know more features of open graph protocol kindly visit http://ogp.me

You Can use this protocol for various needs like advertising, marketing or running any campaign.

I hope this will help you
!Cheers!

Comments

Popular posts from this blog

Evolution of Internet of Things(IoT)

Developing a Progressive Web App from a Static Web App.

Building a Progressive Web Apps- CodeLab