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.