T
T
theyuri2019-08-13 16:23:46
In contact with
theyuri, 2019-08-13 16:23:46

How to use api vk method users.search from nodejs?

I have a nodejs app.
There is a registered application in VK.
I need to use the api users.search
method . I make the request like this: https://api.vk.com/method/${ METHOD_NAME }?${ PARAMETERS }&access_token=${ ACCESS_TOKEN }&v=${ API_VERSION }
Says: Application authorization failed : method is unavailable with service token.
The documentation says that you need to have a user access key.
As I understand it, it is obtained through redirects from the browser or something else. But I have nodejs.
What to do?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stockholm Syndrome, 2019-08-13
@StockholmSyndrome

get it yourself once, and then let node js work with it

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question