Actually, the code:

window.onload = function() { VK.init({ apiId: id приложения }); } $('#vk_link').on('change', function () { var link = $(this).val(); var group_id = link.substr(link.lastIndexOf('/') + 1); VK.Api.call('groups.getById', { access_token: 'здесь токен', group_id: group_id, group_ids: group_id, fields: "description, place, start_date, finish_date" }, function(result){ console.log(result); }); }); 

As a result, completely different fields are returned, not the ones requested (except for the description). What is wrong here?

    1 answer 1

    From the documentation :

    For meetings, contain the start and end times of the meeting in unixtime format. For public pages it contains only start_date - the date of foundation in the format YYYYMMDD.

    But since you say that you start_date not get start_date , then most likely your token does not have access rights for groups .

    UPD. I also noticed that start_date does not display with groups, it shows with public pages, apparently it works like this API, I checked it on 10 groups and public pages.

    • start_date does not require the groups permission. Those. for it the service key of my application that I use must be appropriate. Not this way? - DotCom
    • @DotCom updated the answer, the problem is in the type of group as I understood it - Yaroslav Molchan