public interface GroupMethods
| Modifier and Type | Method and Description |
|---|---|
Group |
getGroup(java.lang.String groupId)
Returns a single group.
|
Group |
getGroup(java.lang.String groupId,
Reading reading)
Returns a single group.
|
ResponseList<GroupDoc> |
getGroupDocs(java.lang.String groupId)
Returns the docs in a group.
|
ResponseList<GroupDoc> |
getGroupDocs(java.lang.String groupId,
Reading reading)
Returns the docs in a group.
|
ResponseList<Post> |
getGroupFeed(java.lang.String groupId)
Returns the group's wall.
|
ResponseList<Post> |
getGroupFeed(java.lang.String groupId,
Reading reading)
Returns the group's wall.
|
ResponseList<GroupMember> |
getGroupMembers(java.lang.String groupId)
Returns all of the users who are members of a group.
|
ResponseList<GroupMember> |
getGroupMembers(java.lang.String groupId,
Reading reading)
Returns all of the users who are members of a group.
|
java.net.URL |
getGroupPictureURL(java.lang.String groupId)
Returns url of a group's profile picture.
|
ResponseList<Group> |
getGroups()
Returns the Groups that the current user belongs to.
|
ResponseList<Group> |
getGroups(Reading reading)
Returns the Groups that the current user belongs to.
|
ResponseList<Group> |
getGroups(java.lang.String userId)
Returns the Groups that a user belongs to.
|
ResponseList<Group> |
getGroups(java.lang.String userId,
Reading reading)
Returns the Groups that a user belongs to.
|
java.lang.String |
postGroupFeed(java.lang.String groupId,
PostUpdate postUpdate)
Creates the post on a group's wall.
|
java.lang.String |
postGroupLink(java.lang.String groupId,
java.net.URL link)
Posts the link on a group's wall.
|
java.lang.String |
postGroupLink(java.lang.String groupId,
java.net.URL link,
java.lang.String message)
Posts the link on a group's wall.
|
java.lang.String |
postGroupStatusMessage(java.lang.String groupId,
java.lang.String message)
Posts the status message on a group's wall.
|
ResponseList<Group> getGroups() throws FacebookException
FacebookException - when Facebook service or network is unavailableResponseList<Group> getGroups(Reading reading) throws FacebookException
reading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailableResponseList<Group> getGroups(java.lang.String userId) throws FacebookException
userId - the ID of a userFacebookException - when Facebook service or network is unavailableResponseList<Group> getGroups(java.lang.String userId, Reading reading) throws FacebookException
userId - the ID of a userreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailableGroup getGroup(java.lang.String groupId) throws FacebookException
groupId - the ID of the groupFacebookException - when Facebook service or network is unavailableGroup getGroup(java.lang.String groupId, Reading reading) throws FacebookException
groupId - the ID of the groupreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailableResponseList<Post> getGroupFeed(java.lang.String groupId) throws FacebookException
groupId - the ID of the groupFacebookException - when Facebook service or network is unavailableResponseList<Post> getGroupFeed(java.lang.String groupId, Reading reading) throws FacebookException
groupId - the ID of the groupreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablejava.lang.String postGroupFeed(java.lang.String groupId,
PostUpdate postUpdate)
throws FacebookException
groupId - the ID of a grouppostUpdate - the post to be createdFacebookException - when Facebook service or network is unavailablejava.lang.String postGroupLink(java.lang.String groupId,
java.net.URL link)
throws FacebookException
groupId - the ID of a grouplink - link URLFacebookException - when Facebook service or network is unavailablejava.lang.String postGroupLink(java.lang.String groupId,
java.net.URL link,
java.lang.String message)
throws FacebookException
groupId - the ID of a grouplink - link URLmessage - link messageFacebookException - when Facebook service or network is unavailablejava.lang.String postGroupStatusMessage(java.lang.String groupId,
java.lang.String message)
throws FacebookException
groupId - the ID of a groupmessage - status message contentFacebookException - when Facebook service or network is unavailableResponseList<GroupMember> getGroupMembers(java.lang.String groupId) throws FacebookException
groupId - the ID of a groupFacebookException - when Facebook service or network is unavailableResponseList<GroupMember> getGroupMembers(java.lang.String groupId, Reading reading) throws FacebookException
groupId - the ID of a groupreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailablejava.net.URL getGroupPictureURL(java.lang.String groupId)
throws FacebookException
groupId - the ID of a groupFacebookException - when Facebook service or network is unavailableResponseList<GroupDoc> getGroupDocs(java.lang.String groupId) throws FacebookException
groupId - the ID of a groupFacebookException - when Facebook service or network is unavailableResponseList<GroupDoc> getGroupDocs(java.lang.String groupId, Reading reading) throws FacebookException
groupId - the ID of a groupreading - optional reading parameters. see Graph API#reading - Facebook DevelopersFacebookException - when Facebook service or network is unavailable