Press enter to see results or esc to cancel.


Linkedin Share button using Plugins – HTML

In this video I have shown how to create the LinkedIn share button in Webpages. This source code will work in all programming languages that supports HTML front end.

Copy paste below source code to the page you need to get the sharer. Update the link with the page link you need to get the sharer.

<script src="http://platform.linkedin.com/in.js" type="text/javascript">
    lang: en_US
</script> 
<script type="IN/Share" data-url="http://chillyfacts.com/linkedin-share-button-using-plugins-html/" data-counter="top"></script>

Here is the working Eg:

Complete HTML page source code, This is optional if you need to get the og title and all as shown in the video. Update the red marked details with details with your page details.

<html prefix="og: http://ogp.me/ns#">
<head>
<meta property="og:title" content="Linkedin Share button using Plugins – HTML" />
<meta property="og:description" content="In this video I have shown how to create the LinkedIn share button in Webpages." />
<meta property="og:url" content="http://chillyfacts.com/linkedin-share-button-using-plugins-html/" />
<meta property="og:image" content="http://example.com/foo.jpg" />
</head>
<body>
<script src="http://platform.linkedin.com/in.js" type="text/javascript"> lang: en_US</script> 
<script type="IN/Share" data-url="http://chillyfacts.com/linkedin-share-button-using-plugins-html/" data-counter="top"></script>
</body>
</html>

Download the LinkedinSharer