Script to remove facebook test users
Run npm install
$ npm installAdd your api key and app secret in config.js e.g:
return module.exports = {
appId: '',
appSecret: ''
};To remove users via command line, run node remove_users.js and pass amount as parameter. e.g: Removing 100 users
$ node remove_users.js 100$ node index.jsTo remove users execute an GET to path delete-users passing the number of users you want to remove. e.g:
http://localhost:5000/delete-users/100
curl -X 'http://localhost:5000/delete-users/2'