Может кто может подсказать. Хочу подключить к сайту кнопку "Мне нравится" которую предлогает Вконтакте. В коде кнопки
CODE (htmlphp):
скопировать код в буфер обмена
скопировать код в буфер обмена
- <!-- Put this script tag to the <head> of your page -->
- <script type="text/javascript" src="http://userapi.com/js/api/openapi.js?49"></script>
- <script type="text/javascript">
- VK.init({apiId: API_ID, 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: "button", height: 20});
- </script>