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()