From 86a0af6bc077906794f8cb9ce488d41d838c39ae Mon Sep 17 00:00:00 2001 From: Inga Lovinde <52715130+inga-lovinde@users.noreply.github.com> Date: Tue, 21 Aug 2018 20:43:06 +0300 Subject: [PATCH] Update README.md --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 8b27bcc..294e56b 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,14 @@ # vkontakte-wall-cleaner Back up your wall contents, and remove potentially offending posts + +Usage: + +1. `npm install` +2. Create new stand-alone VK app on https://vk.com/apps?act=manage , remember its client_id +3. Get your token on 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). +4. Edit `index.js`, substituting token placeholder for your token. +5. `node index` + +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.