public interface TestUserMethods
| Modifier and Type | Method and Description |
|---|---|
TestUser |
createTestUser(java.lang.String appId)
Creates a test user associated with a particular app.
|
TestUser |
createTestUser(java.lang.String appId,
java.lang.String name,
java.lang.String locale,
java.lang.String permissions)
Creates a test user associated with a particular app.
|
boolean |
deleteTestUser(java.lang.String testUserId)
Deletes the test user.
|
java.util.List<TestUser> |
getTestUsers(java.lang.String appId)
Returns test users associated with a particular app.
|
boolean |
makeFriendTestUser(TestUser testUser1,
TestUser testUser2)
Makes friends connections for a test user with other test users.
|
TestUser createTestUser(java.lang.String appId) throws FacebookException
appId - the ID of the appFacebookException - when Facebook service or network is unavailableTestUser createTestUser(java.lang.String appId, java.lang.String name, java.lang.String locale, java.lang.String permissions) throws FacebookException
appId - the ID of the appname - test user namelocale - localepermissions - comma-separated list of permissionsFacebookException - when Facebook service or network is unavailablejava.util.List<TestUser> getTestUsers(java.lang.String appId) throws FacebookException
appId - the ID of the appFacebookException - when Facebook service or network is unavailableboolean deleteTestUser(java.lang.String testUserId)
throws FacebookException
testUserId - the ID of the test userFacebookException - when Facebook service or network is unavailableboolean makeFriendTestUser(TestUser testUser1, TestUser testUser2) throws FacebookException
testUser1 - test usertestUser2 - test userFacebookException - when Facebook service or network is unavailable