PDA

View Full Version : Social Buttons with Short Share URL


Hectorsky
12-18-2015, 01:38 AM
Hello . Someone know how can i make this code :

<!-- Put this script tag to the <head> of your page -->
<script type="text/javascript" src="//vk.com/js/api/openapi.js?121"></script>

<script type="text/javascript">
VK.init({apiId: 5192587, onlyWidgets: true});
</script>

<!-- Put this div tag to the place, where the Like block will be -->
<div id="vk_like"></div>
<script type="text/javascript">
VK.Widgets.Like("vk_like", {type: "mini", height: 20});
</script>

<!-- Put this script tag to the <head> of your page -->
<script type="text/javascript" src="http://vk.com/js/api/share.js?93" charset="windows-1251"></script>

<!-- Put this script tag to the place, where the Share button will be -->
<script type="text/javascript"><!--
document.write(VK.Share.button(false,{type: "round_nocount", text: "Share", eng: 1}));
--></script>

To be same as this modification :https://vborg.vbsupport.ru/showthread.php?t=307814

Thanks