Created
July 6, 2014 15:12
-
-
Save synchrone/ec217275db23bef775fe to your computer and use it in GitHub Desktop.
Kill the wall
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use with http://vk.com/dev/execute | |
var owner = ; //your id or public id * -1 | |
var items = API.wall.get({owner_id: owner, count: 100}).items; | |
var c = 0; | |
while(c < items.length){ | |
API.wall.delete({owner_id: owner, post_id: items[c].id}); | |
c = c + 1; | |
} | |
return items.length; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Execute until retval = 0