T
T
temp100012015-02-07 12:24:38
In contact with
temp10001, 2015-02-07 12:24:38

Why does VK_API users.get return an error?

the documentation says:

user_ids:
Default is the ID of the current user.

then why does https://api.vk.com/method/users.get return an error?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Max Payne, 2015-02-07
@YardalGedal

The previous answer was correct, but I will explain: Users.get can return data without a token, but in this case, you need to send one of the user ID parameters, if the token is specified -- ID can be omitted if you want to display information about the user, who took the token.

A
Alexey, 2015-02-07
@TsSaltan

Because there is no access_token in the request, without it the API does not know on behalf of which user the request is being made

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question