This class manages Facebook test users.
扩展: | Object |
应用安装包: | facebook |
TestUserManager(String, String)
Constructor.
public TestUserManager(String testApplicationSecret, String testApplicationId)
参数 | 描述 |
---|---|
testApplicationSecret | The application secret. |
testApplicationId | The 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)
参数 | 描述 |
---|---|
permissions | The requested permissions. |
getTestApplicationId()
Getter for the test application id.
public synchronized String getTestApplicationId()
getTestApplicationSecret()
Getter for the test application secret.
public synchronized String getTestApplicationSecret()