A Facebook Group. The User and Page objects have a groups connection.
To read a Group, you need:
access_token if the group is public (i.e. the group's privacy setting is OPEN)user_groups permission for a user's non-public groupsfriends_groups permission for a user's friend's non-public groupsThe Facebook Developers Group:
https://graph.facebook.com/195466193802264
| Name | Description | Permissions | Returns |
id | The group ID | generic |
|
version | A flag which indicates if the group was created prior to launch of the current groups product in October 2010 | generic |
|
icon | The URL for the group's icon | generic |
|
owner | The profile that created this group | generic | object containing the |
name | The name of the group | generic |
|
description | A brief description of the group | generic |
|
link | The URL for the group's website | generic |
|
privacy | The privacy setting of the group | generic |
|
updated_time | The last time the group was updated | generic |
|
| Name | Description | Permissions | Returns |
| feed | This group's wall. | any valid |
|
| members | All of the users who are members of this group (can only currently return the first 500 members). | any valid |
|
| picture | The profile picture of this group. | any valid | HTTP 302 with the URL of the group's profile picture |
| docs | The docs in this group. | any valid |
|
This connection corresponds to the Group's wall. You can create a link, post or status message by issuing an HTTP POST request to the GROUP_ID/feed connection.
You can post a link on the Group's wall by issuing an HTTP POST request to GROUP_ID/feed with the publish_stream permissions and the following parameters.
| Parameter | Description | Type | Required |
|---|---|---|---|
link |
Link URL | string |
yes |
message |
Link message | string |
no |
The other fields are taken from the metadata of the page URL given in the 'link' param.
If the create is successful, you get the following return.
| Name | Description | Type |
|---|---|---|
id |
The new link ID | string |
You can create a post on a Group's wall by issuing an HTTP POST request to GROUP_ID/feed with the publish_stream permissions and the following parameters.
| Parameter | Description | Type | Required |
|---|---|---|---|
message |
Post message | string |
either message or link |
link |
Post URL | string |
either message or link |
picture |
Post thumbnail image (can only be used if link is specified) |
string |
no |
name |
Post name (can only be used if link is specified) |
string |
no |
caption |
Post caption (can only be used if link is specified) |
string |
no |
description |
Post description (can only be used if link is specified) |
string |
no |
actions |
Post actions | array of objects containing name and link |
no |
If the create is successful, you get the following return.
| Name | Description | Type |
|---|---|---|
id |
The new post ID | string |
You can post a status message on a Group's wall by issuing an HTTP POST request to GROUP_ID/feed with the publish_stream permissions and the following parameters.
| Parameter | Description | Type | Required |
|---|---|---|---|
message |
Status Message content | string |
yes |
If the create is successful, you get the following return.
| Name | Description | Type |
|---|---|---|
id |
The new status message ID | string |