You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The library vk_api will no longer authenticate and thus cannot communicate with VK's API. The library appears unmaintained and has not had a release since June 2022.
Proposed solution
There is another promising library, vkbottle that appears to be maintained and functions. It offloads login to obtain a token which can be done on sites such as https://vkhost.github.io/. User logs in there and can copy the token from the result URL to use with 4CAT or other apps.
Our existing processor searches the news feed for posts. It appears that endpoint no longer works with VK's API using the user's token. It returns the error "Unknown method passed" (testable here). Instead, you need an application token created through an application at VK. The user tokens do appear to work on other pages, so the processor could currently be modified to extract information form a list of VK URLs or could be used to collect posts from specific pages, communities, groups, etc. With the newsfeed search available if a app token is obtained.
I am going to modify the current processor to use an app token and this new library.
Oh, side-note: this package only works with later versions of python (failed in 3.9, but working in 3.11).
The text was updated successfully, but these errors were encountered:
Describe the bug
The library
vk_api
will no longer authenticate and thus cannot communicate with VK's API. The library appears unmaintained and has not had a release since June 2022.Proposed solution
There is another promising library,
vkbottle
that appears to be maintained and functions. It offloads login to obtain a token which can be done on sites such as https://vkhost.github.io/. User logs in there and can copy the token from the result URL to use with 4CAT or other apps.Our existing processor searches the news feed for posts. It appears that endpoint no longer works with VK's API using the user's token. It returns the error "Unknown method passed" (testable here). Instead, you need an application token created through an application at VK. The user tokens do appear to work on other pages, so the processor could currently be modified to extract information form a list of VK URLs or could be used to collect posts from specific pages, communities, groups, etc. With the newsfeed search available if a app token is obtained.
I am going to modify the current processor to use an app token and this new library.
Oh, side-note: this package only works with later versions of python (failed in 3.9, but working in 3.11).
The text was updated successfully, but these errors were encountered: