parent
5dee31c84e
commit
86a0af6bc0
@ -1,2 +1,14 @@ |
|||||||
# vkontakte-wall-cleaner |
# vkontakte-wall-cleaner |
||||||
Back up your wall contents, and remove potentially offending posts |
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. |
||||||
|
Loading…
Reference in new issue