|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FacebookTestUserAccount
API for a Facebook test user, encapsulating the ID, Access token and the Login URL for the user.
This API also provides access to JSON string representation of connections to user objects described in the Facebook Graph API documentation, which is essentially resources accessible using thehttps://graph.facebook.com/ID/CONNECTION_TYPE syntax.
| Method Summary | |
|---|---|
String |
accessToken()
|
void |
copyToOtherApplication(String otherApplicationId,
String otherApplicationAccessToken,
boolean appInstalled,
String permissions)
Copies this test user to another application |
void |
copyToTestUserStore(FacebookTestUserStore testUserStore,
boolean appInstalled,
String permissions)
Copies this test user to another FacebookTestUserStore. |
void |
delete()
Deletes this test user in Facebook. |
String |
getBooks()
|
String |
getCheckins()
|
String |
getEvents()
|
String |
getFriends()
|
String |
getGroups()
|
String |
getLikes()
|
String |
getMovies()
|
String |
getMusic()
|
String |
getNewsFeed()
|
String |
getNotes()
|
String |
getPhotoAlbums()
|
String |
getPhotoTags()
|
String |
getProfileFeed()
|
String |
getUserDetails()
|
String |
getVideoTags()
|
String |
getVideoUploads()
|
String |
id()
|
String |
json()
|
String |
loginUrl()
The login URL gives access to the Facebook page for this test user. |
void |
makeFriends(FacebookTestUserAccount friend)
Creates a friend relationship between this test user and the test user in the parameter. |
| Method Detail |
|---|
void delete()
void copyToOtherApplication(String otherApplicationId,
String otherApplicationAccessToken,
boolean appInstalled,
String permissions)
otherApplicationId - The application ID of the other applicationotherApplicationAccessToken - The access token for the other applicationappInstalled - True if the account should directly accept the application requesting the specified permissions,
false to use the loginUrl()}.permissions - Comma-separated list of permissions for the Facebook application. See
Permissions
documentation.
void copyToTestUserStore(FacebookTestUserStore testUserStore,
boolean appInstalled,
String permissions)
testUserStore - The user store to copy this user to.appInstalled - True if the account should directly accept the application requesting the specified permissions,
false to use the loginUrl()}.permissions - Comma-separated list of permissions for the Facebook application. See
Permissions
documentation.void makeFriends(FacebookTestUserAccount friend)
friend - A Facebook test user account.String getFriends()
String getProfileFeed()
String getNewsFeed()
String getLikes()
String getMovies()
String getMusic()
String getBooks()
String getNotes()
String getPhotoTags()
String getPhotoAlbums()
String getVideoTags()
String getVideoUploads()
String getEvents()
String getGroups()
String getCheckins()
String getUserDetails()
String id()
String accessToken()
String loginUrl()
String json()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||