/{POST-id}
Represents a Workplace post. The /{post-id}
node returns a single post.
Returns a single Post object representing a post in a group, an event or on a user's profile.
Reading a post node requires the Read group content permission.
Field Name | Description | Type |
---|---|---|
| The post ID. |
|
| The time the post was initially published. |
|
| Indicates whether the post was created using a formatting markup language. The return value indicates which markup language was used. Workplace supports Markdown and plain text. |
|
| Information about the person or profile that posted the message. | |
| A link to an icon representing the type of this post. |
|
| The link attached to this post. |
|
| The status message in the post. |
|
| The name of the |
|
| The ID of any uploaded photo or video attached to the post. |
|
| URL to the permalink page of the post. |
|
| The picture scraped from any |
|
| Any location information attached to the post. | |
| If the post is a poll, this field will return the attached Question object, allowing you to see the | |
| A list of properties for any attached video, for example, the length of the video. |
|
| Description of the type of a status update. |
|
| Text from stories not intentionally generated by users. |
|
| Profiles mentioned or targeted in this post. | |
| A string indicating the object type of this post. |
|
| The time when the post was created, last edited or the time of the last comment that was left on the post. |
|
| Profiles tagged as being 'with' the publisher of the post. | JSON object with a |
You can't publish using this edge. To make a new post in a group, use the /group/feed
edge.
A post can be deleted via the Graph API by making a DELETE
request on the path /{post_id}
.
Deleting a post node requires both the Post to groups permission and either of Read all content or Read only open content permission, depending on the group where the post is made.
Only posts created by a bot can be updated, those made on behalf of a user with an impersonate_token
cannot. A post can be edited by making a POST
request on the /{post-id}
edge with an updated message
in the body.
Edge Name | Description |
---|---|
| All media attachments associated with this post. |
| Comments on this post. Supports a |
| People who like this post. Supports a |
| People who have reacted to this post. Supports a |
| People who have seen this post. Supports a |
The following Markdown syntax is supported when publishing a post on Workplace:
Formatting | Syntax |
---|---|
Bold | **Bold** |
Emphasize | *Emphasize* |
[Link](https://workplace.fb.com) | |
| `Inline code` |
|
```
code block
```
|
| * List |
| 1. Numbered list |
| > Quote |
Heading 1 | # Heading 1 |
Heading 2 | ## Heading 2 |
ID
, source
and story
of a postGET graph.facebook.com
/{post-id}?fields=id,source,story
GET graph.facebook.com
/{post-id}/comments
GET graph.facebook.com
/{post-id}/comments?
summary=true
POST graph.facebook.com
/{group-id}/feed?
message=Hello+World&
link=https://developers.facebook.com/docs/workplace/custom-integrations/apps
POST graph.facebook.com
/{group-id}/feed?
message=Hi+@[100013325822531]
POST graph.facebook.com
/{group-id}/feed?
message=This+is+a+**formatted**+*post*&
formatting=MARKDOWN
GET graph.facebook.com
/{post-id}?
fields=message,poll{options{name,vote_count,votes}}