Giter Club home page Giter Club logo

vk-audio-token's Introduction

Library that obtains VK tokens that work for VK audio API

Read this in russian.

Python port of this library: vodka2/vkaudiotoken-python

This library obtains VK token, that works for VK audio API, so you can search artists, songs, albums, query audio URIs, add audios to "My audios" etc. The library supports Kate Mobile, Boom and VK Official clients. (Thanks to YTKABOBR for reversing the Boom client)

Actually there two versions of VK API, one for Kate Mobile and one for the official client. Boom client uses VK API somewhat similar to Kate one, but it has some limitations, not all methods are supported. Moreover it requires messages permission (do they scan our messages?) and sometimes returns 500 errors. On the other hand it supports another API in addition to VK API and may be used as a fallback.

Installation

composer require vodka2/vk-audio-token

... or simply copy the cloned repository somewhere and include src/autoloader.php. The library requires no dependencies.

Getting tokens

The simplest example:

<?php

use Vodka2\VKAudioToken\TokenFacade;

$login = "+71234567890";
$pass = "12345";

// print token and User-Agent
// setting User-Agent is mandatory when querying the API!
var_export(TokenFacade::getKateToken($login, $pass));

More advanced examples are in the examples directory. Start with example_simple.php.

Using tokens

The simplest example:

<?php

define('TOKEN', 'token from previous example');
define('USER_AGENT', 'User-Agent from previous example');
$ch = curl_init();

curl_setopt($ch, CURLOPT_HTTPHEADER, array('User-Agent: '.USER_AGENT));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

curl_setopt(
    $ch,
    CURLOPT_URL,
    "https://api.vk.com/method/audio.getById?access_token=".TOKEN.
    "&audios=".urlencode("371745461_456289486").
    "&v=5.95"
);

echo json_encode(json_decode(curl_exec($ch)), JSON_PRETTY_PRINT)."\n\n";

More examples that show how to use obtained VK tokens with different API methods are in the usage subdirectory. More detailed VK API description is available at https://vodka2.github.io/vk-audio-token/ (Currently in progress)

CLI tool

There is also more advanced CLI tool, that emulates Kate Mobile:

Usage: src/cli/vk-audio-token.php [options] vk_login vk_pass
       src/cli/vk-audio-token.php [options] non_refreshed_kate_token
Options:
-s file             - save GMS ID and token to the file
-l file             - load GMS ID and token from file
-g gms_id:gms_token - use specified GMS ID and token
-d file             - use droidguard string from file
                      instead of hardcoded one
-m                  - make microG checkin (default)
-o                  - old checkin with droidguard string
                      that may expire
                      with droidguard string is made
-t code             - use two factor authentication
                      pass GET_CODE to get code or
                      pass code received in SMS
-h                  - print this help

Docker

docker build -t vk-audio-tokens src/
docker run -t vk-audio-tokens:latest php src/cli/vk-audio-token.php -m vk_login vk_pass
docker run -t vk-audio-tokens:latest php src/examples/usage/example_kate.php token

2FA

Two factor authorization with SMS is supported for Kate and VK Official clients, however VK server sometimes does not send an SMS. If you don't receive it, you can use TwoFAHelper class to force resending. See example_twofahelper.php

For the Boom client the library uses implicit flow authorization and makes requests to the VK website. VK server may make a call, send an SMS or send private message to your VK account. You can also authenticate the client yourself and only pass the token and user id.

It is also possible to create separate passwords in VK account settings and use them instead of your account password.

GMS Credentials

GMS credentials are also obtained while obtaining tokens. There are two ways to obtain GMS credentials.

The first way is to get them from a rooted Android device. The token is in /data/data/com.google.android.gsf/shared_prefs/CheckinService.xml file and ID is in /data/data/com.google.android.gms/shared_prefs/Checkin.xml file. You can install GMS Credentials application to see them.

The second way is to perform Android Checkin yourself. Class AndroidCheckin is designed for this task. This class provides two options: checkin with droidguard string and checkin as in microG project. Note that the obtained credentials may expire.

For the first option you need a string that is generated by com.google.ccc.abuse.droidguard (the.apk). One such string is in example_droidguard_str.php file, it may expire. When using the second option one extra request is made and PHP needs to have sockets enabled.

It is also possible to intercept Android Checkin request (it is made on first boot) and see the returned GMS ID and token.

Buy me some healthy Russian drinks!

WMR — P778046516389

WMZ — Z828082159527

Yandex Money

vk-audio-token's People

Contributors

alashow avatar kylmakalle avatar mehavoid avatar vodka2 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vk-audio-token's Issues

Music URL 404 (I don't know if is a issue)

I'm trying to get artist page using:

//Credentials obtained by example_vkofficial.php script
define('TOKEN', "myToken");
define('USER_AGENT', SupportedClients::VkOfficial()->getUserAgent());
$ch = curl_init();

curl_setopt($ch, CURLOPT_HTTPHEADER, array('User-Agent: ' . USER_AGENT));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POST, 1);

/* Artisit*/
curl_setopt(
    $ch,
    CURLOPT_URL,
    "https://api.vk.com/method/catalog.getAudioArtist"
);

curl_setopt(
    $ch,
    CURLOPT_POSTFIELDS,
    "v=5.116" . // Api Version
        "&https=1" .
        "&ref=search" .
        "&extended=1" .
        "&lang=pt-br" .
        "&count=5" .
        "&need_blocks=0" .
        "&artist_id=mkjay" .
        "&access_token=" . TOKEN
);


$artist = json_decode(curl_exec($ch));
$section_id = $artist->response->catalog->sections[0]->id;
$artist_title = $artist->response->catalog->sections[0]->title;

if ($artist_title != "") {
    curl_setopt(
        $ch,
        CURLOPT_URL,
        "https://api.vk.com/method/catalog.getSection"
    );

    curl_setopt(
        $ch,
        CURLOPT_POSTFIELDS,
        "v=5.116" . // Api Version
            "&https=1" .
            "&ref=search" .
            "&extended=1" .
            "&lang=en" .
            "&count=5" .
            "&start_from=0" .
            "&next_from=1" .
            "&need_blocks=0" .
            "&section_id=" . $section_id .
            "&access_token=" . TOKEN
    );

    $data = json_decode(curl_exec($ch));

    /* Example of getting mp3 from m3u8 url */
    function getMp3FromM3u8($url)
    {
        // Not a m3u8 url
        if (!strpos($url, "index.m3u8?")) {
            return $url;
        }
        if (strpos($url, "/audios/")) {
            return preg_replace('~^(.+?)/[^/]+?/audios/([^/]+)/.+$~', '\\1/audios/\\2.mp3', $url);
        } else {
            return preg_replace('~^(.+?)/(p[0-9]+)/[^/]+?/([^/]+)/.+$~', '\\1/\\2/\\3.mp3', $url);
        }
    }

    $allAudios = $data->response->audios;
    foreach ($allAudios as $audio) {
        $audio->url = getMp3FromM3u8($audio->url);
    }

    /* Response with mp3 urls */
    echo json_encode($data, JSON_PRETTY_PRINT) . "\n\n";
}

When I run this code on local php server everything its good!
but when i try to run this code in hostinger server (hostinger.com)
the URL audio give to me 404 page

Example response local:

"is_licensed": true,
"track_code": "28646071UzEmKpXVuGVFnfNJbLs8QoTdes4kxHXlBhZuKHhMAaKD_rJD",
"url": "https://cs9-13v4.vkuseraudio.net/p1/9698db4d88d42e.mp3",
"date": 1570532915,

Example response Hostinger:

"is_licensed": true,
"track_code": "27f63f55WbxlxswQK8Yp535KdYNFJEILQJ3SyOVQFLzAvxmdbn-Nc_Gv",
"url": "https://cs9-13v4.vkuseraudio.net/p1/089fd329d9d28d.mp3",
"date": 1570532915,

The Host Server location is EUA
Why this happens ?
All the best!

content_restricted

При запросе с серверов европы, некоторые треки отдаются без url и с ключем "content_restricted":
"id": 456239018, "owner_id": 539314228, "artist": "Artik & Asti", "title": "", "duration": 217, "date": 1554462845, "url": "", "is_hq": true, "track_genre_id": 14, "access_key": "692fa93bec77d87051", "content_restricted": 6 }
С тем же access_key из РФ с теми же треками все ок. Пробовал получать access_key с машины в европе, результат тот же. Хотя из приложения Kate mobile c VPN треки работают. В чем может быть проблема? Спасибо

audio.getById - error 100

Всем привет. Затестите кому не лень :)
метод audio.getById
трек -192611626_456240432
Я почему-то ловлю ошибку на треках которые который получены через метод audio.getCatalogBlockById (новинки)
1587118734862

До сих пор работает?

Пробую получить токен, получилось только с example_microg.
example_droidguard_str.php выдает
TokenException: Token was not refreshed, tokens are the same
example_vkofficial.php выдает токен, но при попытке его использовать получаю ошибку
User authorization failed: You should specify sig param for nohttps requests (scope contain nohttps)
токен example_microg работает, показывает аудио в аттачментах постов со стены, но вызовы audio.get и audio.GetAlbums возвращают пустой список для сообщества. Для пользователя audio.get возвращает ссылки на https://vk.com/mp3/audio_api_unavailable.mp3

Это так и должно быть (вконтакте уже окончательно все прикрыли), или у меня в коде что-то не так?

токен

Здравствуйте, у вас работает скрипт ? не могу получить токен

does not display the token

Getting new android checkin auth data...

Receiving token...
PHP Notice: Undefined property: stdClass::$error_description in C:\vk-audio-token-master\src\Vodka2\VKAudioToken\TokenException.php on line 18
PHP Fatal error: Uncaught Vodka2\VKAudioToken\TokenException: Can't obtain token. Error description: Unknown error in C:\vk-audio-token-master\src\Vodka2\VKAudioToken\TokenReceiver.php:38
Stack trace:
#0 C:\vk-audio-token-master\src\Vodka2\VKAudioToken\TokenReceiver.php(22): Vodka2\VKAudioToken\TokenReceiver->getNonRefreshed()
#1 C:\vk-audio-token-master\src\cli\vk-audio-token.php(142): Vodka2\VKAudioToken\TokenReceiver->getToken()
#2 {main}
thrown in C:\vk-audio-token-master\src\Vodka2\VKAudioToken\TokenReceiver.php on line 38

Есть ли информация по лимитам при использовании таких токенов?

Добрый день. Вы не тестировали токены на лимиты? Какие есть ограничения при их использовании? По запросам в секунду, по запросам в сутки и т.п. В бан не отправляют аккаунты при активном использовании методов audio?

BOOM муз прога

Привет, а через муз прогу токен идет капча? И как с вами связаться

Token confirmation required

Добрый день. Не которые полученные токены выдают error_code = 25 error_msg = 'Token confirmation required' при запросе audio.get
Описания ошибки в vk нет. Как противодействовать - непонятно. Возможно, вы что-то знаете про нее. Возможно ли, что это что-то на этапе получения токена надо дополнительно сделать?

Problem with the tokens

Hi vodka2,

at first, great work :-)

i've used your script "vk-audio-token.php" to gather a vk audio api token.
When i use this token to query the vk audio api, the api reply with an error code:

"error_code": 25,
"error_msg": "Token confirmation required",

I don't passed an gms_id and gms_token to the script. I've seen in your code both will be generated by the class AndroidCheckin if they are not passed to the script.

Do you have any idea why this happens?

Проблема с 2fa

Добрый день. Пытаюсь получить токен из примера следующим образом:
php example_microg.php login pass GET_CODE
но в ответ получаю ошибку:
PHP Fatal error: Uncaught Vodka2\VKAudioToken\TokenException: Two factor auth is required.

Не совсем понятно, что делать на этом этапе. Пробовал перейти в браузере по redirect_uri, но вк пишет, что сессия устарела. Что я делаю не так?))

С паролем приложения разумеется проблем нет, но хочется использовать авторизацию по обычному паролю тоже.

кириллица

здравствуйте. не выдает запросы с кириллицей.

запрос:

$query = "ЛАУД";

curl_setopt(
    $ch,
    CURLOPT_URL,
    "https://api.vk.com/method/audio.search?access_token=".TOKEN.
    "&q=".urlencode($query)."&performer_only=0&count=10&v=5.95"
);

выдает случайные результаты, которые вообще не подходят под запрос

Добавление и удаление трека

Мне приходит из апи список треков моего аккаунта. в каждом owner_id это посути мой айди и id - тоесть айди трека в моих теках. я использую эти два параметра для того что бы удалить трек. Но что бы добавить обратно нужен owner_id владельца и айди трека в его треках как я понимаю, но у меня нету их, как быть?

{
                "artist": "soviss",
                "id": 456239865,
                "owner_id": 316071885,
                "title": "kitty phonk",
                "duration": 90,
                "access_key": "952b413c22d3d52279",
                "ads": {
                    "content_id": "316071885_456239865",
                    "duration": "90",
                    "account_age_type": "3",
                    "puid22": "18"
                },
                "is_explicit": true,
                "is_focus_track": false,
                "is_licensed": true,
                "track_code": "c32ed678pHmn9G8hYCkdKgLrVcIJFpyTh8f5fT65SNQXAxLbrZvOEqToCuXsw70bzA-rIz0W",
                "url": "https://cs25-1v4.vkuseraudio.net/s/v1/ac/XVJsjVrmaQHGSZYSebRxt6KqxPzWLy5y4wdHB-ZZAHQqQ_ScG6MjSGHmFkpf-p4wWinHxG1X7lDu_xOuNK2jLHFgaL0tARe-rlR1aX9SDf8dAl79xjp9p3ldFQn-jhXWvu33gKNRuFEMZzFSzmzQQBrk2y-X-OH38G6fjvMx8Fv8oLM/index.m3u8",
                "date": 1688029997,
                "album": {
                    "id": 14241395,
                    "title": "kitty phonk",
                    "owner_id": -2000241395,
                    "access_key": "94883c39af63b8aea0",
                    "thumb": {
                        "width": 300,
                        "height": 300,
                        "photo_34": "https://sun25-1.userapi.com/impf/VISNEyjchah0kyNI__bbZ1azg1a9jrdw-LMehQ/Wkj2j3hpnKk.jpg?size=34x34&quality=96&sign=c0d953f58cacb95d8c9d188411f3766c&c_uniq_tag=jZo5y7IbbB-IfHEPoHKLEobYz0l7Ke0V3-pljq3D16o&type=audio",
                        "photo_68": "https://sun25-1.userapi.com/impf/VISNEyjchah0kyNI__bbZ1azg1a9jrdw-LMehQ/Wkj2j3hpnKk.jpg?size=68x68&quality=96&sign=8cd639c4d4d2d7bc87ee5da9ac8efbd0&c_uniq_tag=UsVTn-k8S_l1IooodMXHkwpN4JHAIPwtX7kNMmGuz6k&type=audio",
                        "photo_135": "https://sun25-1.userapi.com/impf/VISNEyjchah0kyNI__bbZ1azg1a9jrdw-LMehQ/Wkj2j3hpnKk.jpg?size=135x135&quality=96&sign=04c285d213f716c4599c022835232a7b&c_uniq_tag=pn7OS76kcyC22OHXGUl1dColwZ-ZTkr0ELu8nemcf3c&type=audio",
                        "photo_270": "https://sun25-1.userapi.com/impf/VISNEyjchah0kyNI__bbZ1azg1a9jrdw-LMehQ/Wkj2j3hpnKk.jpg?size=270x270&quality=96&sign=72795631d0dd15d42f2f5a27f201fdd1&c_uniq_tag=5gb1mDMv9FZSvjrVhFftpgCIJjK_qDtH_LOh_jEb-Go&type=audio",
                        "photo_300": "https://sun25-1.userapi.com/impf/VISNEyjchah0kyNI__bbZ1azg1a9jrdw-LMehQ/Wkj2j3hpnKk.jpg?size=300x300&quality=96&sign=d367bf799cdeddc18e6020f8efe8a3ad&c_uniq_tag=EIwLWhxkZgtzgTaOqHVbHTwalFqNtU9jXNzboOdNL2k&type=audio",
                        "photo_600": "https://sun25-1.userapi.com/impf/VISNEyjchah0kyNI__bbZ1azg1a9jrdw-LMehQ/Wkj2j3hpnKk.jpg?size=600x600&quality=96&sign=6c763aa4623e4ac79ff2e51846624506&c_uniq_tag=DrohZl75T7bHi4kb4_qro0wOggD6MObo3Ksyk1MATr8&type=audio",
                        "photo_1200": "https://sun25-1.userapi.com/impf/VISNEyjchah0kyNI__bbZ1azg1a9jrdw-LMehQ/Wkj2j3hpnKk.jpg?size=1184x1184&quality=96&sign=8a69bc54be6c74f17ecb9e6a9f89c4ae&c_uniq_tag=jz_VR6MlmtidZpz9v_XnM9a-SAB6gm0XkjPG40P3E-8&type=audio"
                    }
                }
"main_artists": [
                    {
                        "name": "soviss",
                        "domain": "7941333661859270614",
                        "id": "7941333661859270614"
                    }
                ],
                "short_videos_allowed": false,
                "stories_allowed": false,
                "stories_cover_allowed": false
            }

через оф.вк

Здравствуйте, подскажите какая команда если не через кейт мобайл ,а через оф. вк(example_vkofficial)

open redirect_uri in browser [5]. Also you can use 2fa_supported param

Вот такая штука. Не разрешает авторизоваться. Присылает url, но переходить по нему бесполезно. Может как-то по другому надо настраивать аккаунт? Или как-то обыграть эту штуку?

docker run -t vk-audio-tokens:latest php src/cli/vk-audio-token.php -m <login> <pass>

Getting new android checkin auth data...

Receiving token...

Fatal error: Uncaught Vodka2\VKAudioToken\TokenException: Can't obtain token. Error extra: (object) array(
   'error' => 'need_validation',
   'validation_type' => '2fa_app',
   'validation_sid' => '2fa_10601533_2685278_698885553331113785',
   'phone_mask' => '+456 *** * ** 78',
   'error_description' => 'open redirect_uri in browser [5]. Also you can use 2fa_supported param',
   'redirect_uri' => 'https://m.vk.com/login?act=authcheck&api_hash=49f6111d8333222406',
) in /src/Vodka2/VKAudioToken/TokenReceiver.php:42
Stack trace:
#0 /src/Vodka2/VKAudioToken/TokenReceiver.php(24): Vodka2\VKAudioToken\TokenReceiver->getNonRefreshed()
#1 /src/cli/vk-audio-token.php(142): Vodka2\VKAudioToken\TokenReceiver->getToken()
#2 {main}
  thrown in /src/Vodka2/VKAudioToken/TokenReceiver.php on line 42

Актуальность функции .m3u8 to .mp3

Доброго дня, подскажите, функция .m3u8 to .mp3, еще работоспособна? Не силен в php к сожалению, но из тех попыток что я пробовал, с ссылкой вида .m3u8 конвертация в mp3 не удалась.

капча

Здравствуйте, можно ли обойти капчу у вк

Decode url

Как сейчас расшифровывать ссылки на трек?

Не играют треки ((((

Всем привет, перестали играть треки как от кейт мобайл так и от оф.андроид ,играют некоторые треки ,а часть нет, никто не в курсе в чем проблема?

Доступны не все аудио

Добрый день!

Заметил, что api возвращает массив аудио, но далеко не везде есть URL на mp3, хотя в официальных клиентах и Kate аудио доступны. Использую авторизацию и user-agent Kate mobile. Проблема наблюдается со всеми методами.
Это проблема со стороны вк или я как-то неправильно обращаюсь? Есть ли решение?

image

Audio Api Unavailable

Всем привет! Пробую получить список треков пользователя. Токен получил из примера https://github.com/vodka2/vk-audio-token/blob/master/src/examples/example_vkofficial.php.

По документации использую пример https://vodka2.github.io/vk-audio-token/method/audio_get

В ответ приходит

{
    "response": {
        "count": 1,
        "items": [
            {
                "id": 1,
                "owner_id": 100,
                "artist": "\u0438 \u0432 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u0445 \u0412\u041a\u043e\u043d\u0442\u0430\u043a\u0442\u0435",
                "title": "\u0410\u0443\u0434\u0438\u043e \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e \u043d\u0430 vk.com",
                "duration": 25,
                "date": 1481906888,
                "url": "https:\/\/vk.com\/mp3\/audio_api_unavailable.mp3"
            }
        ]
    }
}

В чем может быть проблема?

Где текста песен?

Как теперь получить текст песен? lyrics_id = 1 у всех треков где есть текст

Response from kate api url

{"response":{"count":1,"items":[{"id":1,"owner_id":100,"artist":"и в официальных приложениях ВКонтакте","title":"Аудио доступно на vk.com","duration":25,"date":1481906888,"url":"https://vk.com/mp3/audio_api_unavailable.mp3"}]}}

Привязка к IP

Как известно, ссылки на музыку привязаны к IP юзера, который их запрашивал. Есть необходимость использовать эти ссылки на фронте, получая сами ссылки на бэкенде (соответсвенно IP фронта и бэка разные). Есть ли возможность каким то образом перекодировать ссылку для нужного IP?

Аудио недоступны

Успешно получаю токен, но при попытке вызвать, например, метод audio.get возвращает только одно аудио - https://vk.com/mp3/audio_api_unavailable.mp3
Пробовал даже сделать свои gms credentials, ошибка не исчезает.
код:

$ curl "https://api.vk.com/method/audio.get?v=5.116&access_token=MYTOKEN"

{"response":{"count":1,"items":[{"id":1,"owner_id":100,"artist":"и в официальных приложениях ВКонтакте","title":"Аудио доступно на vk.com","duration":25,"date":1481906888,"url":"https://vk.com/mp3/audio_api_unavailable.mp3"}]}

gms получал через android-эмулятор memu.

Закодированные аудио

Доброго времени суток, возникла такая проблема, раньше при использовании кода vk official получал список своих аудио с нормальным видом ссылок на mp3, теперь же они такие https://cs1-65v4.vkuseraudio.net/p18/c2b37b04f8f/f30851a0e61d4d/index.m3u8?extra=mKaYXiMlLR4Nau5Pp1Rtb29K1reUga0MzMNjoAQ1flY42A_0KHDjJ6hoTBUbPPpvIiSgWyHHJ2OhP0WYYiO2gd8pfOK50ZUQcTm36qvpqcQeyP7YnQVZhIUNG--iHasqZVicwPj8_Zy44e87NOgny0xN

как их можно расшифровать?

More examples

Добрый день!
Отличная работа, очень круто!
Подскажите пожалуйста где можно посмотреть все методы для audio куда можно слать запросы и какие параметры они принимают? Например как получить песни по жанру? или как получить список исполнителей и их песни?
Заранее огромное спасибо.

Не понимаю многого...

Здравствуйте. Я понемногу пишу библиотеку для 100% доступа ко всем методам user api vk. Реализовал почти все методы. Камнем преткновения для меня стало получение refreshed token. Дело в том, что пишу я на python и никак не могу освоить php. Возможно вы подскажите мне как получить receipt именно на python. Буду вам очень признателен

2fa

Когда у тебя подключен 2FA, то первый вход выбивает ошибку, со второго уже можно зайти при помощи резервного кода или Google Auth, но смс так и не приходит

vk-audio-token

C:\WINDOWS\system32>C:\php\php.exe C:\vk-audio-token-master\vk-audio-token-master\src\cli\vk-audio-token.php номер_вк пароль_вк
"C:\php\php.exe" не является внутренней или внешней
командой, исполняемой программой или пакетным файлом.

audio token do not work any more?

Hey, we use this method several years but few weeks ago method stop working. We can still get a token but it is not working.
Any solutions?

Проблема при запуске файла vk-audio-token.php

php src/cli/vk-audio-token.php -m log pass

PHP Fatal error: Uncaught Error: Call to undefined function Vodka2\VKAudioToken\curl_init() in /root/vk-audio-tokens/src/Vodka2/VKAudioToken/CommonParams.php:27
Stack trace:
#0 /root/vk-audio-tokens/src/cli/vk-audio-token.php(114): Vodka2\VKAudioToken\CommonParams->__construct()
#1 {main}
thrown in /root/vk-audio-tokens/src/Vodka2/VKAudioToken/CommonParams.php on line 27

Cannot get audios from walls

Hi vodka2.
Good job!!!
I cannot get list of audios from from walls(communities) I tried with ID of group but it doesn't give any data. But it's working for my own userID
I tried with wall.get but it's not giving all audios list
image
image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.