Skip to content

Latest commit

 

History

History
42 lines (34 loc) · 705 Bytes

README.md

File metadata and controls

42 lines (34 loc) · 705 Bytes

facebook-tests-users

Script to remove facebook test users

Install

Run npm install

$ npm install

Configuration

Add your api key and app secret in config.js e.g:

return module.exports = {
    appId: '',
    appSecret: ''
};

Usage

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

Usage with express

$ node index.js

To 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

Remove using CURL

curl -X 'http://localhost:5000/delete-users/2'