Answer the question
In order to leave comments, you need to log in
How to collect all users by filter (users.search method) in VK API?
At the moment, there is such a limitation:
users.search
How can I collect all users by filter through the VK API?
Answer the question
In order to leave comments, you need to log in
Parse parts by filters. For example, first 1000 users under 20, then 1000 from 20 to 30, then 1000 40+ years. Or other filters6 by gender, marital status, etc.
In short, contact a brick from me for their perversion security
How to parse:
1. select a location, year, month, gender. This detail is often sufficient. Total 24 requests for 1 year.
2. you need to be prepared that at some point you may encounter a captcha or a message about flood control (tobish ban).
3. you need to understand that in VK programmers do not know how to work directly and honestly with API clients and know that the user.search function works with a trick, that is, at a certain point in time it can start lying to you about the people actually found. What does it mean? for example, you parse for several years and send requests sequentially, as a result, in April of some year you start receiving messages that no people were found at all, try to check the control value of the last successful searches, you get this value. As a result of their petty mischief, you get a bunch of hemorrhoids, as a result you register 20 users, connect proxies and do everything through them, then it will be fine. In other cases, it will be hemorrhoids ....
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question