TestUserManager

This class manages Facebook test users.

ขยาย:Object
แพ็คเกจ:facebook
ผู้สร้าง
TestUserManager(String, String)

Constructor.

public TestUserManager(String testApplicationSecret, String testApplicationId)
พารามิเตอร์คำอธิบาย
testApplicationSecretThe application secret.
testApplicationIdThe application id.
วิธีการแบบอินสแตนซ์
getAccessTokenForPrivateUser(List)

Gets the access token of the private test user for the application with the requested permissions.

public AccessToken getAccessTokenForPrivateUser(List permissions)
พารามิเตอร์คำอธิบาย
permissionsThe requested permissions.
Returns
The access token of the private test user for the application.
getAccessTokenForSharedUser(List)

Gets the access token of the shared test user for the application with the requested permissions.

public AccessToken getAccessTokenForSharedUser(List permissions)
พารามิเตอร์คำอธิบาย
permissionsThe requested permissions.
Returns
The access token of the shared test user for the application.
getAccessTokenForSharedUser(List, String)

Gets the access token of the shared test user with the tag for the application with the requested permissions.

public AccessToken getAccessTokenForSharedUser(List permissions, String uniqueUserTag)
พารามิเตอร์คำอธิบาย
permissionsThe requested permissions.
uniqueUserTagThe user tag.
Returns
The requested shared user.
getTestApplicationId()

Getter for the test application id.

public synchronized String getTestApplicationId()
Returns
The test application id.
getTestApplicationSecret()

Getter for the test application secret.

public synchronized String getTestApplicationSecret()
Returns
The test application secret.