Created
August 13, 2020 10:41
-
-
Save tdakkota/08c62bbebb8c66b405bb8ae7f0dee9b4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var id = 1; | |
var users = []; | |
var i = 0; | |
while(i < 25) { | |
var req = API.groups.getMembers({"group_id":id,"count":1000, | |
"offset":i*1000,"fields":"sex, bdate, city, country, photo_50, photo_100, photo_200_orig, photo_200, photo_400_orig, photo_max, photo_max_orig, online, online_mobile, lists, domain, has_mobile, contacts, connections, site, education, universities, schools, can_post, can_see_all_posts, can_see_audio, can_write_private_message, status, last_seen, common_count, relation, relatives"}); | |
users.push(req.items); | |
i = i + 1; | |
} | |
return users; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment