K
K
kr_ilya2019-12-10 20:41:06
Node.js
kr_ilya, 2019-12-10 20:41:06

What library to receive audio recordings from VK?

For python there is vk_api and its audio . This library allows you to easily parse audio from a page. i.e. get links, titles, performers.
Is there a library with similar functionality for node?
Googling didn't turn up anything good.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Shohruh Shaimardonov, 2019-12-10
@joeberetta

Maybe it's worth digging into the VK api documentation?

S
Sedbol, 2019-12-10
@Sedbol

Get the token here

<?php
$client_id = '5456066';
$scope = 'offline,audio';
$new_url = "https://oauth.vk.com/authorize?client_id=$client_id&display=page&redirect_uri=http://vk.com/blank.html&scope=$scope&response_type=token&v=5.60";
header('Location: '.$new_url);
?>

And then in the standard way audio.get or whatever you need !!!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question