Hire a web Developer and Designer to upgrade and boost your online presence with cutting edge Technologies

Friday, October 14, 2022

Linkedin Share button using Plugins – HTML

 

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="https://platform.linkedin.com/in.js" type="text/javascript">
    lang: en_US
</script> 
<script type="IN/Share" data-url="https://honeyvig.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="https://honeyvig.com/linkedin-share-button-using-plugins-html/" />
<meta property="og:image" content="http://example.com/foo.jpg" />
</head>
<body>
<script src="https://platform.linkedin.com/in.js" type="text/javascript"> lang: en_US</script> 
<script type="IN/Share" data-url="https://honeyvig.com/linkedin-share-button-using-plugins-html/" data-counter="top"></script>
</body>
</html>

No comments:

Post a Comment