I think everyone knows what the “Like” widget does. For the number of ignorant people, I will explain - the widget adds a button of the same name on the HTML page, when clicked, the counter increases. The user can also tell about the page on his wall VK. Many people use this widget, but there is not a single mention in the free Internet of a serious underwater boulder. The fact is that after the first use, the widget's parameters are cached forever on VK servers and there is no possibility to change them without resetting the counter.
To demonstrate the problem, let's take the standard script for the widget from the official VKontakte developer page:
<script type="text/javascript" src="http://vk.com/js/api/openapi.js?64"></script> <script type="text/javascript"> VK.init({apiId: YOUR_APP_ID, onlyWidgets: true}); </script> <div id="vk_like"></div> <script type="text/javascript"> VK.Widgets.Like("vk_like", {type: "full", pageTitle: "TEST_TITLE", pageDescription: "TEST_DESC"}); </script>
You need to insert this code into the page, which will be in the application domain VK. For example, the application selected the base domain example.com, then the page should be placed in this domain or one of its subdomains: example.com/vktest.html, local.example.com/vktest.html, and so on.
')
After clicking on the button, authorization and clicking on "Tell friends", a corresponding entry will appear on your VKontakte wall. Now let's go back to our page and click on “I like” again - the counter will be reset, the recording from the wall will disappear. Problem solved? You can check by changing the parameters of the widget to others.
VK.Widgets.Like("vk_like", {type: "full", pageTitle: "REAL_TITLE", pageDescription: "REAL_DESC"});
We update the page, again click on "Like" and "Tell friends." In all my tests, I have seen the old TEST_TITLE and TEST_DESC.
This example is, of course, not very accurate. Perhaps it is enough to wait some time and the cache for the widget with zero usage will reset itself. However, this is an excellent demonstration of the problem. If you set up a widget with test data and a counter is greater than zero, you will not be able to change the parameters of the widget. Widget parameters include title, description, image.
The only way to update these parameters is to reset the counter. This was reported to me in those. VK support:

You can reset the counter either by specifying the third parameter page_id, or by changing the URL of the page. Obviously, this is not suitable for a page where there are already more than 500 likes.
I developed integration for several social networks. I must say, I encounter such a nuisance for the first time. Yes, and I do not remember when I last saw that you can not reset the cache in the system. Moreover, not a word is said about this feature in VKontakte documentation.
For developers of integration advice - test the widget on fake URLs, for example, example.com/fake.html. Or change the page_id before the release of the page.
Widget documentation
on the VKontakte developers site .