Good afternoon, comrades.
There was a problem with the publication of the post on the wall of the user. The js function is as follows:
function post() { VK.api('wall.post', { owner_id:'{{ idVk }}', message:'Переводы', attachments:'photo-00000000_000000000, http://vk.com/app0000000' }, function(data) { if (!data.response) { alert('Error #' + data.error.error_code + ': ' + data.error.error_msg); if (data.error.error_code == '214') { alert('Необходимо разрешить приложению публикацию на Вашей стене.'); VK.callMethod("showSettingsBox"); } } }); }
And I call her like this:
<a href="#" onclick="post();">Разместить на стене</a>
The first message displays the following:
Error # 214: Wall post access is denied
And in the SettingsBox, all items are highlighted. Do not tell me what the problem is?