3
How can I make a share button for Linkedin? I did facebook, google, twitter and Whatsapp but Linkedin I’m not getting. For example look at the one on facebook:
<script type="text/javascript">
var win = null;
function novaJanela(pagina, nome, w, h, scroll) {
LeftPosition = (screen.width) ? (screen.width - w) / 2 : 0;
TopPosition = (screen.height) ? (screen.height - h) / 2 : 0;
settings = 'height=' + h + ',width=' + w + ',top=' + TopPosition + ',left=' + LeftPosition + ',scrollbars=' + scroll + ',resizable'
win = window.open(pagina, nome, settings);
}
</script>
<div class="social-ctn fb">
<a href="#" onclick="NovaJanela('http://www.facebook.com/sharer/sharer.php?u=http://www.cissamagazine.com.br/blog/xperia-c5-ultra-m5-reis-da-fotografia', '', '550', '470', 'yes');return false">
<div class="icon"></div>
<span class="text facebook">Facebook</span>
</a>
</div>
But in that case I would like to do as I did in the example above because using their API I am required to make a request each time I upload the page
– Gabriel Schmidt Cordeiro