Test Users are special Users you can use to test your app. They are hidden from real User accounts, and any data you generate with a Test User will only be visible to other Test Users on that app, or to real Users who have a Admin, Developer, or Tester role on the app. Test Users are also exempt from our spam and fake account detection systems, so they won't be disabled when you use them to test your app.
The App Dashboard provides an interface to perform many of the tasks you want to be able to do with test users:
Note: If you want to associate or disassociate existing test accounts with other apps you will need to use the
/app/accounts/test-users Graph API edge.
Open the App Dashboard and choose the app for which you want to manage test accounts. Select Roles then Test Users from the left hand side menu.
The Test Users panel displays a list of test users with names, user IDs, and email addresses associated with this app. You can use these users to login into the test account.
Click on the Add button to create a new test user. You'll then be prompted with a dialog that has a few options:
Once you've chosen your options, click the Create Test Users button and after a few seconds the new account will be created and appear in the test user list.
You can use the checkboxes in the left column of the Test User screen to pick a number of test accounts, and then click the Delete button to delete those accounts. This process cannot be undone, so be sure you want to actually delete the account.
/app/accounts/test-users Graph API edge can be used by app Admins or Developers to:
/test-user Graph API node can be used to: