|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FriendMethods
Method Summary | |
---|---|
boolean |
addFriendlistMember(String friendlistId,
String userId)
Adds a user to the friend list. |
String |
createFriendlist(String friendlistName)
Creates the friend list for the current user. |
String |
createFriendlist(String userId,
String friendlistName)
Creates the friend list for a user. |
boolean |
deleteFriendlist(String friendlistId)
Deletes the friend list. |
boolean |
deleteFriendlistMember(String friendlistId,
String userId)
This method is an alias of: removeFriendlistMember(String, String) . |
ResponseList<Friend> |
getBelongsFriend(String friendId)
Returns the friend if the current user friends with. |
ResponseList<Friend> |
getBelongsFriend(String friendId,
Reading reading)
Returns the friend if the current user friends with. |
ResponseList<Friend> |
getBelongsFriend(String userId,
String friendId)
Returns the friend if a user friends with. |
ResponseList<Friend> |
getBelongsFriend(String userId,
String friendId,
Reading reading)
Returns the friend if a user friends with. |
Friendlist |
getFriendlist(String friendlistId)
Returns a single friend list. |
Friendlist |
getFriendlist(String friendlistId,
Reading reading)
Returns a single friend list. |
ResponseList<Friend> |
getFriendlistMembers(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(String userId)
Returns the user's friend lists. |
ResponseList<Friendlist> |
getFriendlists(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(String userId)
Returns the user's incoming friend requests. |
ResponseList<FriendRequest> |
getFriendRequests(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(String userId)
Returns a user's friends. |
ResponseList<Friend> |
getFriends(String userId,
Reading reading)
Returns a user's friends. |
ResponseList<Friend> |
getMutualFriends(String friendUserId)
Returns the mutual friends between the current user and friend. |
ResponseList<Friend> |
getMutualFriends(String friendUserId,
Reading reading)
Returns the mutual friends between the current user and friend. |
ResponseList<Friend> |
getMutualFriends(String userId1,
String userId2)
Returns the mutual friends between two users. |
ResponseList<Friend> |
getMutualFriends(String userId1,
String userId2,
Reading reading)
Returns the mutual friends between two users. |
ResponseList<TaggableFriend> |
getTaggableFriends()
Returns the list of friends of the current user. |
ResponseList<TaggableFriend> |
getTaggableFriends(Reading reading)
Returns the list of friends of the current user. |
ResponseList<TaggableFriend> |
getTaggableFriends(String userId)
Returns the list of friends of the current user. |
ResponseList<TaggableFriend> |
getTaggableFriends(String userId,
Reading reading)
Returns the list of friends of the current user. |
boolean |
removeFriendlistMember(String friendlistId,
String userId)
Removes the user from a friend list. |
Method Detail |
---|
ResponseList<Friend> getFriends() throws FacebookException
FacebookException
- when Facebook service or network is unavailableResponseList<Friend> getFriends(Reading reading) throws FacebookException
reading
- optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException
- when Facebook service or network is unavailableResponseList<Friend> getFriends(String userId) throws FacebookException
userId
- the ID of a user
FacebookException
- when Facebook service or network is unavailableResponseList<Friend> getFriends(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 unavailableResponseList<Friend> getBelongsFriend(String friendId) throws FacebookException
friendId
- the ID of the friend
FacebookException
- when Facebook service or network is unavailableResponseList<Friend> getBelongsFriend(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 unavailableResponseList<Friend> getBelongsFriend(String userId, String friendId) throws FacebookException
userId
- the ID of a userfriendId
- the ID of the friend
FacebookException
- when Facebook service or network is unavailableResponseList<Friend> getBelongsFriend(String userId, 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 unavailableResponseList<Friendlist> getFriendlists() throws FacebookException
FacebookException
- when Facebook service or network is unavailableResponseList<Friendlist> getFriendlists(Reading reading) throws FacebookException
reading
- optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException
- when Facebook service or network is unavailableResponseList<Friendlist> getFriendlists(String userId) throws FacebookException
userId
- the ID of a user
FacebookException
- when Facebook service or network is unavailableResponseList<Friendlist> getFriendlists(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 unavailableString createFriendlist(String friendlistName) throws FacebookException
friendlistName
- friend list name
FacebookException
- when Facebook service or network is unavailableString createFriendlist(String userId, String friendlistName) throws FacebookException
userId
- the ID of a userfriendlistName
- friend list name. Maximum 25 characters
FacebookException
- when Facebook service or network is unavailableFriendlist getFriendlist(String friendlistId) throws FacebookException
friendlistId
- the ID of the friend list
FacebookException
- when Facebook service or network is unavailableFriendlist getFriendlist(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 unavailableboolean deleteFriendlist(String friendlistId) throws FacebookException
friendlistId
- the ID of the friend list
FacebookException
- when Facebook service or network is unavailableResponseList<Friend> getFriendlistMembers(String friendlistId) throws FacebookException
friendlistId
- the ID of the friend list
FacebookException
- when Facebook service or network is unavailableboolean addFriendlistMember(String friendlistId, String userId) throws FacebookException
friendlistId
- the ID of the friend listuserId
- the ID of target user
FacebookException
- when Facebook service or network is unavailableboolean removeFriendlistMember(String friendlistId, String userId) throws FacebookException
friendlistId
- the ID of a friend listuserId
- the ID of a target user
FacebookException
- when Facebook service or network is unavailableboolean deleteFriendlistMember(String friendlistId, String userId) throws FacebookException
removeFriendlistMember(String, String)
.
friendlistId
- the ID of a friend listuserId
- the ID of a target user
FacebookException
- when Facebook service or network is unavailableResponseList<FriendRequest> getFriendRequests() throws FacebookException
FacebookException
- when Facebook service or network is unavailableResponseList<FriendRequest> getFriendRequests(Reading reading) throws FacebookException
reading
- optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException
- when Facebook service or network is unavailableResponseList<FriendRequest> getFriendRequests(String userId) throws FacebookException
userId
- the ID of a user
FacebookException
- when Facebook service or network is unavailableResponseList<FriendRequest> getFriendRequests(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 unavailableResponseList<Friend> getMutualFriends(String friendUserId) throws FacebookException
friendUserId
- the ID of a friend
FacebookException
- when Facebook service or network is unavailableResponseList<Friend> getMutualFriends(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 unavailableResponseList<Friend> getMutualFriends(String userId1, String userId2) throws FacebookException
userId1
- the ID of a useruserId2
- the ID of a user
FacebookException
- when Facebook service or network is unavailableResponseList<Friend> getMutualFriends(String userId1, 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 unavailableResponseList<TaggableFriend> getTaggableFriends() throws FacebookException
FacebookException
- when Facebook service or network is unavailable, and when taggable friends feature requires app reviewResponseList<TaggableFriend> getTaggableFriends(Reading reading) throws FacebookException
reading
- optional reading parameters. see Graph API#reading - Facebook Developers
FacebookException
- when Facebook service or network is unavailable,and when taggable friends feature requires app reviewResponseList<TaggableFriend> getTaggableFriends(String userId) throws FacebookException
userId
- the ID of a user
FacebookException
- when Facebook service or network is unavailable, and when taggable friends feature requires app reviewResponseList<TaggableFriend> getTaggableFriends(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,and when taggable friends feature requires app review
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |