S
S
sayfulla132019-08-31 13:33:30
API
sayfulla13, 2019-08-31 13:33:30

How to get information about the user through vk_api?

I read the vk_api documentation, understood everything, came across this method. It seems that I did everything right, but for some reason this method returns an empty array. What's the problem?

vk.method('users.get',{'users_ids':11111,'fields':'nickname','name_case':'nom'})

where "11111" is the user id

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Stockholm Syndrome, 2019-08-31
@sayfulla13

'users_ids':11111

you need to be more careful, the parameter is called user_ids

A
Anton Shamanov, 2019-08-31
@SilenceOfWinter

instead of id you can use slug: vk.com/solnzew, slug - solnzew

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question