|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TestUserMethods
| Method Summary | |
|---|---|
TestUser |
createTestUser(String appId)
Creates a test user associated with a particular app. |
TestUser |
createTestUser(String appId,
String name,
String locale,
String permissions)
Creates a test user associated with a particular app. |
TestUser |
createTestUser(String appId,
String name,
String locale,
String permissions,
boolean installed)
Creates a test user associated with a particular app. |
boolean |
deleteTestUser(String testUserId)
Deletes the test user. |
ResponseList<TestUser> |
getTestUsers(String appId)
Returns test users associated with a particular app. |
ResponseList<TestUser> |
getTestUsers(String appId,
Integer limit)
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. |
| Method Detail |
|---|
TestUser createTestUser(String appId)
throws FacebookException
appId - the ID of the app
FacebookException - when Facebook service or network is unavailable
TestUser createTestUser(String appId,
String name,
String locale,
String permissions)
throws FacebookException
appId - the ID of the appname - test user namelocale - localepermissions - comma-separated list of permissions
FacebookException - when Facebook service or network is unavailable
TestUser createTestUser(String appId,
String name,
String locale,
String permissions,
boolean installed)
throws FacebookException
appId - the ID of the appname - test user namelocale - localepermissions - comma-separated list of permissionsinstalled - automatically installs the app for the test user once it is created
FacebookException - when Facebook service or network is unavailable
ResponseList<TestUser> getTestUsers(String appId)
throws FacebookException
appId - the ID of the app
FacebookException - when Facebook service or network is unavailable
ResponseList<TestUser> getTestUsers(String appId,
Integer limit)
throws FacebookException
appId - the ID of the applimit - number of elements per page (can be null to use default page size)
FacebookException - when Facebook service or network is unavailable
boolean deleteTestUser(String testUserId)
throws FacebookException
testUserId - the ID of the test user
FacebookException - when Facebook service or network is unavailable
boolean makeFriendTestUser(TestUser testUser1,
TestUser testUser2)
throws FacebookException
testUser1 - test usertestUser2 - test user
FacebookException - when Facebook service or network is unavailable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||