We use cookies to offer an improved online experience and offer you content and services adapted to your interests.
By using Dailymotion, you are giving your consent to our cookies.
</Developer>

Group

An individual group represented in the Graph API.

Test this object with the API Explorer.

To read a group, perform an HTTP GET request on /group/GROUP_ID. By default, only a small number of fields are returned. To request specific fields, pass the list of wanted fields in the fields query-string parameter (ex: /group/GROUP_ID?fields=field1,field2,...).

Fields

Here is the list of fields you can retrieve on every group object. You can retrieve these using the field parameter on any graph object call.

Name Description Permissions Format
avatar_160_url URL of this group’s avatar image (160px wide square). No access_token required for reading. Returns url.
avatar_40_url URL of this group’s avatar image (40px wide square). No access_token required for reading. Returns url.
avatar_80_url URL of this group’s avatar image (80px wide square). No access_token required for reading. Returns url.
created_time Date and time when this group was created. No access_token required for reading. Returns date.
description Comprehensive description of this group. No access_token required for reading. This resource is writable. Returns string, min size: 1, max size: 2000.
id The group object ID No access_token required for reading. Returns the object id.
name Short descriptive name of this group. No access_token required for reading. This resource is writable. Returns string, min size: 1, max size: 50.
owner Creator of this group. You can retrieve sub-fields of this [user](#user) object using the [dot-notation](#fields-selection) (e.g.: owner.id). No access_token required for reading. Return a user. You can request sub-fields by using owner.<sub-field> notation.
updated_time Date and time when this group was last updated. No access_token required for reading. Returns date.
url_name Unique slug name of this group to be used in URLs (only alphanum, “-” and “_” characters allowed) No access_token required for reading. This resource is writable. Returns string, min size: 1, max size: 35.

Connections

Name Description Permissions Returns
members List of users associated to this group. No access_token required for reading. manage_groups scope required for writing. A list of User.
videos List of videos associated to this group. No access_token required for reading. manage_groups scope required for writing. A list of Video.

member connection

Read

You can read the list of a group‘s members by issuing an HTTP GET to /group/<GROUP_ID>/members. You can requests the list of user‘s fields to be returned using the fields parameter.

Test it with the API Explorer.

You can also see if a group has a member by issuing an HTTP GET to /group/<GROUP_ID>/members/<USER_ID>. This will return a list containing only the user if connected or an empty list otherwise.

Create

You can add a member by issuing an HTTP POST request to /group/<GROUP_ID>/members/<USER_ID>.

Delete

You can remove a member by issuing an HTTP DELETE request to /group/<GROUP_ID>/members/<USER_ID>.

Test it with the API Explorer.

video connection

Read

You can read the list of a group‘s videos by issuing an HTTP GET to /group/<GROUP_ID>/videos. You can requests the list of video‘s fields to be returned using the fields parameter.

Test it with the API Explorer.

You can also see if a group has a video by issuing an HTTP GET to /group/<GROUP_ID>/videos/<VIDEO_ID>. This will return a list containing only the video if connected or an empty list otherwise.

Create

You can add a video by issuing an HTTP POST request to /group/<GROUP_ID>/videos/<VIDEO_ID>.

Delete

You can remove a video by issuing an HTTP DELETE request to /group/<GROUP_ID>/videos/<VIDEO_ID>.

Test it with the API Explorer.

Table Of Contents