Код: Выделить всё
<!-- Put this script tag to the <head> of your page --><script type="text/javascript" src="http://userapi.com/js/api/openapi.js?47"></script> <script type="text/javascript"> VK.init({apiId: *******, 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: "full"});</script>
вставил как написанно:
Код: Выделить всё
<head><script type="text/javascript" src="http://userapi.com/js/api/openapi.js?47"></script></head> <script type="text/javascript"> VK.init({apiId: ******, onlyWidgets: true});</script> <div id="vk_like"></div><script type="text/javascript">VK.Widgets.Like("vk_like", {type: "full"}, 22);</script>
Код: Выделить всё
VK.init({apiId: *******, onlyWidgets: true});