Graph API Version

Group (group)

This topic is only available to Workplace Apps.
Category of updates relating to activity in groups and events in groups for Workplace

comments

The comments field for the Webhooks group topic for Workplace

Fields

FieldDescription

field

string

Name of the updated field

value

object

The contents of the update

attachments

Any attachments that are associated with the comment

description

string

Text accompanying the attachment

description_tags

Profiles tagged in the text accompanying the attachment

id

numeric string

ID of the profile

length

unsigned int32

Number of characters in the text indicating the object

name

string

Name of the object

offset

unsigned int32

The character offset in the source text of the text indicating the object

type

enum {user, page, event, group, application}

Type of the object

media

Media object (photo, link etc.) contained in the attachment

image

ImageSource

Image

height

unsigned int32

Height of the image

src

string

URI of the image

width

unsigned int32

Width of the image

source

string

Source

subattachments

Edge<StoryAttachment>

Any subattachments associated with the attachment

target

Object that the attachment links to

id

string

ID

url

string

URL

title

string

Title of the attachment

type

string

Type of the attachment

url

string

URL of the attachment

created_time

datetime

The time the comment was published

comment_id

token with structure: Comment ID

The comment ID

community

Workplace community which this group belongs to

id

numeric string

The Group ID

deleted_time

datetime

The time the comment was deleted

from

User|Page

The ID and the name of the user or page that published the comment

message

string

The message that is part of the content

message_tags

Profiles tagged in the message.

id

numeric string

ID of the profile

length

unsigned int32

Number of characters in the text indicating the object

name

string

Name of the object

offset

unsigned int32

The character offset in the source text of the text indicating the object

type

enum {user, page, event, group, application}

Type of the object

parent

For comment replies, the comment this is a reply to

id

token with structure: Comment ID

The comment ID

created_time

datetime

The time this comment was made

from

User|Page

The profile that made this comment

message

string

The comment text

message_tags

Profiles tagged in mentions in the message

id

numeric string

ID of the profile

length

unsigned int32

Number of characters in the text indicating the object

name

string

Name of the object

offset

unsigned int32

The character offset in the source text of the text indicating the object

type

enum {user, page, event, group, application}

Type of the object

post_id

token with structure: Post ID

The ID of the post which the comment belongs to

permalink_url

string

The permanent static URL to the comment

verb

enum {add, block, edit, edited, delete, follow, hide, mute, remove, unblock, unhide, update}

The type of action taken

membership

The membership field for the Webhooks group topic for Workplace

Fields

FieldDescription

field

string

The field name

value

object

The contents of the update

actor

User|Page

The ID and the name of the user or the page which added or removed a member from the group

community

Workplace community which this group belongs to

id

numeric string

The Group ID

member

User|Page

The ID and the name of the user who was added to or removed from the group

update_time

datetime

The time the user was added to or removed from the group

verb

enum {add, block, edit, edited, delete, follow, hide, mute, remove, unblock, unhide, update}

The type of action taken

posts

The posts field for the Webhooks group topic for Workplace

Fields

FieldDescription

field

string

Name of the updated field

value

object

The contents of the update

attachments

Edge<StoryAttachment>

Any attachments that are associated with the story

created_time

datetime

The time the post was published, expressed as UNIX timestamp

community

Workplace community which this group belongs to

id

numeric string

The Group ID

deleted_time

datetime

The time the post was deleted

from

User|Page

The ID of the user or page that published the post

message

string

The message that is part of the content

message_tags

Profiles tagged in the message.

id

numeric string

ID of the profile

length

unsigned int32

Number of characters in the text indicating the object

name

string

Name of the object

offset

unsigned int32

The character offset in the source text of the text indicating the object

type

enum {user, page, event, group, application}

Type of the object

permalink_url

uri

The permanent static URL to the post

post_id

token with structure: Post ID

The post ID

target_type

enum

The type of the target where the post appears, such as group or event

type

string

The type of the post

verb

enum {add, block, edit, edited, delete, follow, hide, mute, remove, unblock, unhide, update}

The type of action taken