If you don’t know what Facebook Test User is? you may check the documentation on http://developers.facebook.com/docs/test_users/

Test User is a tool that could be handy when you need to have some users to interact with your application, facebook currently provide this through Graph Api.

I’ve made this simple php class consuming only facebook test account API, you may copy-paste from github

Some example,

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
    $acc = new Facebook_TestAccount($appID,$Secret,$app_access_token);
    
    //Create N User
    $acc->createMany($_REQUEST['n'],$parameter)
    
    //Delete All User created by App
    $acc->deleteAll()
    
    //Listing all user created by App Access Token
    $acc->access()