R
R
rusgayfer2017-07-24 23:23:29
In contact with
rusgayfer, 2017-07-24 23:23:29

How to access audio vk api?

I want to do a search for audio.search, but all the time I write flood control
I tried direct authorization through official applications:

// Android
https://oauth.vk.com/token?grant_type=password&client_id=2274003&scope=offline,audio,video&client_secret=hHbZxrka2uZ6jB1inYsH&username=логин&password=пароль

But it gives out:
{"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"}]}}

Is there any way to bypass this?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Sergey Sokolov, 2017-07-24
@sergiks

Can't be bypassed. Read more .
Although.. you can try to pretend to be a Kate Mobile client (get a token on behalf of their application). They are given permission to access the audio.* methods

S
Serezha, 2017-07-25
Ahen @Ahen

http://api.ya.ws/ ($0.01 per 1000 requests)
Upload songs to your server, give a link with lifetime per day.
To level advertising (the service is not mine, but still paid), here is my key, use it for personal needs only, in all conscience:
(On the balance of about a dollar, I could not spend it).

M
Max Medar, 2017-07-25
@MedVedar

It is through vk api that there is no way. Only through third-party services or self-written hacks.
Here is an example of an open source client where music works (worked when I last looked at it).
https://github.com/vk-cli/vk

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question