Answer the question
In order to leave comments, you need to log in
How to write a script to clean up the community wall in VK?
You need to delete only the messages of specific pests, and even better - all containing links.
Answer the question
In order to leave comments, you need to log in
Well, first create an application (or you can even ready). Then you take the group or user ID into the variable (+ you can also record).
Then you create a function that contains the pest IDs. Then, scan the wall. If the comments belong to those users - delete via wall.deleteComment
To specifically from "pests" - delete several of their entries and VK itself will offer to delete all their entries and send the authors to the ban.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question