You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
||5 years ago|
|.gitignore||5 years ago|
|LICENSE||5 years ago|
|README.md||5 years ago|
|index.js||5 years ago|
|package.json||5 years ago|
Back up your wall contents, and remove potentially offending posts
Content warning: the code is of extremely poor quality, it was written in an hour, and not intended to be reused.
- Create new stand-alone VK app on https://vk.com/apps?act=manage , remember its client_id.
- Open https://oauth.vk.com/authorize?client_id=CLIENT_ID&redirect_uri=https://oauth.vk.com/blank.html&display=page&scope=8192&response_type=token&v=5.80 , where CLIENT_ID is app id from the previous step (8192 means that script will have access to wall only). Log in if required to. VK should redirect you to https://oauth.vk.com/blank.html#TOKEN_AND_OTHER_DATA; copy the token from the address line there.
index.js, substituting token placeholder for your token.
All posts are backed up, along with their photo attachments and up to 100 comments per post.
All reposts, and all photo/album/video/audio posts without text are removed, except for those that have over 50 comments. The behaviour can be tweaked in line 123.