andrey-helldar / vk

Laravel package for VK API
MIT License
9 stars 3 forks source link

Vk api with group bots #20

Closed ExsyDev closed 6 years ago

ExsyDev commented 6 years ago

Hello, I have group in vk. And have chat bot. I have token group, how I can write this token in config if I have and token user and token group? Link: https://vk.com/dev/bots_docs

andrey-helldar commented 6 years ago

Hi! The current version of the package does not yet know how to work with bots. At the moment, the package only supports some VK API methods version 5.63 and below.

ExsyDev commented 6 years ago

Andrey, Vk bots use vk api, but how I can add access_token? If I already have access_token user.

andrey-helldar commented 6 years ago

When authorizing the VK API, the local account ID retains the account identifier on the site and the VK system identifier in the local table. Both fields must be unique in the table. This means that, at the moment, only one access_token can be obtained from one authorized user.