Answer the question
In order to leave comments, you need to log in
How to get a list of VK community members and write it to CSV?
Hey!
You need to get a list of community members (for example, this one - https://vk.com/stopgameru)
I created the following request:
list_m = vkapi.groups.getMembers(group_id="stopgameru", count=3,fields='city',v=5.80)
{'count': 150312, 'users': [{'id': 1185, 'first_name': 'Andrey', 'last_name': 'Pronin'}, {'id': 1586, 'first_name': 'Dominik' , 'last_name': 'Smith'}, {'id': 1699, 'first_name': 'Maxim', 'last_name': 'Mernes', 'city': {'id': 1707102, 'title': 'Singapore '}}]}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question