|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface FriendMethods
| Method Summary | |
|---|---|
boolean |
addFriendlistMember(java.lang.String friendlistId,
java.lang.String userId)
Adds a user to the friend list. |
java.lang.String |
createFriendlist(java.lang.String friendlistName)
Creates the friend list for the current user. |
java.lang.String |
createFriendlist(java.lang.String userId,
java.lang.String friendlistName)
Creates the friend list for a user. |
boolean |
deleteFriendlist(java.lang.String friendlistId)
Deletes the friend list. |
ResponseList<Friend> |
getBelongsFriend(java.lang.String friendId)
Returns the friend if the current user friends with. |
ResponseList<Friend> |
getBelongsFriend(java.lang.String friendId,
Reading reading)
Returns the friend if the current user friends with. |
ResponseList<Friend> |
getBelongsFriend(java.lang.String userId,
java.lang.String friendId)
Returns the friend if a user friends with. |
ResponseList<Friend> |
getBelongsFriend(java.lang.String userId,
java.lang.String friendId,
Reading reading)
Returns the friend if a user friends with. |
Friendlist |
getFriendlist(java.lang.String friendlistId)
Returns a single friend list. |
Friendlist |
getFriendlist(java.lang.String friendlistId,
Reading reading)
Returns a single friend list. |
ResponseList<Friend> |
getFriendlistMembers(java.lang.String friendlistId)
Returns all of the users who are members of this list. |
ResponseList<Friendlist> |
getFriendlists()
Returns the current user's friend lists. |
ResponseList<Friendlist> |
getFriendlists(Reading reading)
Returns the current user's friend lists. |
ResponseList<Friendlist> |
getFriendlists(java.lang.String userId)
Returns the user's friend lists. |
ResponseList<Friendlist> |
getFriendlists(java.lang.String userId,
Reading reading)
Returns the user's friend lists. |
ResponseList<FriendRequest> |
getFriendRequests()
Returns the current user's incoming friend requests. |
ResponseList<FriendRequest> |
getFriendRequests(Reading reading)
Returns the current user's incoming friend requests. |
ResponseList<FriendRequest> |
getFriendRequests(java.lang.String userId)
Returns the user's incoming friend requests. |
ResponseList<FriendRequest> |
getFriendRequests(java.lang.String userId,
Reading reading)
Returns the user's incoming friend requests. |
ResponseList<Friend> |
getFriends()
Returns the current user's friends. |
ResponseList<Friend> |
getFriends(Reading reading)
Returns the current user's friends. |
ResponseList<Friend> |
getFriends(java.lang.String userId)
Returns a user's friends. |
ResponseList<Friend> |
getFriends(java.lang.String userId,
Reading reading)
Returns a user's friends. |
ResponseList<Friend> |
getMutualFriends(java.lang.String friendUserId)
Returns the mutual friends between the current user and friend. |
ResponseList<Friend> |
getMutualFriends(java.lang.String friendUserId,
Reading reading)
Returns the mutual friends between the current user and friend. |
ResponseList<Friend> |
getMutualFriends(java.lang.String userId1,
java.lang.String userId2)
Returns the mutual friends between two users. |
ResponseList<Friend> |
getMutualFriends(java.lang.String userId1,
java.lang.String userId2,
Reading reading)
Returns the mutual friends between two users. |
boolean |
removeFriendlistMember(java.lang.String friendlistId,
java.lang.String userId)
Removes the user from a friend list. |
| Method Detail |
|---|
ResponseList<Friend> getFriends()
throws FacebookException
FacebookException - when Facebook service or network is unavailable
ResponseList<Friend> getFriends(Reading reading)
throws FacebookException
reading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
ResponseList<Friend> getFriends(java.lang.String userId)
throws FacebookException
userId - the ID of a user
FacebookException - when Facebook service or network is unavailable
ResponseList<Friend> getFriends(java.lang.String userId,
Reading reading)
throws FacebookException
userId - the ID of a userreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
ResponseList<Friend> getBelongsFriend(java.lang.String friendId)
throws FacebookException
friendId - the ID of the friend
FacebookException - when Facebook service or network is unavailable
ResponseList<Friend> getBelongsFriend(java.lang.String friendId,
Reading reading)
throws FacebookException
friendId - the ID of the friendreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
ResponseList<Friend> getBelongsFriend(java.lang.String userId,
java.lang.String friendId)
throws FacebookException
userId - the ID of a userfriendId - the ID of the friend
FacebookException - when Facebook service or network is unavailable
ResponseList<Friend> getBelongsFriend(java.lang.String userId,
java.lang.String friendId,
Reading reading)
throws FacebookException
userId - the ID of a userfriendId - the ID of the friendreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
ResponseList<Friendlist> getFriendlists()
throws FacebookException
FacebookException - when Facebook service or network is unavailable
ResponseList<Friendlist> getFriendlists(Reading reading)
throws FacebookException
reading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
ResponseList<Friendlist> getFriendlists(java.lang.String userId)
throws FacebookException
userId - the ID of a user
FacebookException - when Facebook service or network is unavailable
ResponseList<Friendlist> getFriendlists(java.lang.String userId,
Reading reading)
throws FacebookException
userId - the ID of a userreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
java.lang.String createFriendlist(java.lang.String friendlistName)
throws FacebookException
friendlistName - friend list name
FacebookException - when Facebook service or network is unavailable
java.lang.String createFriendlist(java.lang.String userId,
java.lang.String friendlistName)
throws FacebookException
userId - the ID of a userfriendlistName - friend list name. Maximum 25 characters
FacebookException - when Facebook service or network is unavailable
Friendlist getFriendlist(java.lang.String friendlistId)
throws FacebookException
friendlistId - the ID of the friend list
FacebookException - when Facebook service or network is unavailable
Friendlist getFriendlist(java.lang.String friendlistId,
Reading reading)
throws FacebookException
friendlistId - the ID of the friend listreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
boolean deleteFriendlist(java.lang.String friendlistId)
throws FacebookException
friendlistId - the ID of the friend list
FacebookException - when Facebook service or network is unavailable
ResponseList<Friend> getFriendlistMembers(java.lang.String friendlistId)
throws FacebookException
friendlistId - the ID of the friend list
FacebookException - when Facebook service or network is unavailable
boolean addFriendlistMember(java.lang.String friendlistId,
java.lang.String userId)
throws FacebookException
friendlistId - the ID of the friend listuserId - the ID of target user
FacebookException - when Facebook service or network is unavailable
boolean removeFriendlistMember(java.lang.String friendlistId,
java.lang.String userId)
throws FacebookException
friendlistId - the ID of a friend listuserId - the ID of a target user
FacebookException - when Facebook service or network is unavailable
ResponseList<FriendRequest> getFriendRequests()
throws FacebookException
FacebookException - when Facebook service or network is unavailable
ResponseList<FriendRequest> getFriendRequests(Reading reading)
throws FacebookException
reading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
ResponseList<FriendRequest> getFriendRequests(java.lang.String userId)
throws FacebookException
userId - the ID of a user
FacebookException - when Facebook service or network is unavailable
ResponseList<FriendRequest> getFriendRequests(java.lang.String userId,
Reading reading)
throws FacebookException
userId - the ID of a userreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
ResponseList<Friend> getMutualFriends(java.lang.String friendUserId)
throws FacebookException
friendUserId - the ID of a friend
FacebookException - when Facebook service or network is unavailable
ResponseList<Friend> getMutualFriends(java.lang.String friendUserId,
Reading reading)
throws FacebookException
friendUserId - the ID of a friendreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
ResponseList<Friend> getMutualFriends(java.lang.String userId1,
java.lang.String userId2)
throws FacebookException
userId1 - the ID of a useruserId2 - the ID of a user
FacebookException - when Facebook service or network is unavailable
ResponseList<Friend> getMutualFriends(java.lang.String userId1,
java.lang.String userId2,
Reading reading)
throws FacebookException
userId1 - the ID of a useruserId2 - the ID of a userreading - optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException - when Facebook service or network is unavailable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||