A status message on a user's wall as represented in the Graph API.
A status message on the Facebook Page:
https://graph.facebook.com/10150224661566729
A Status message has the following fields.
| Name | Description | Permissions | Returns |
id | The status message ID | Requires access_token |
|
from | The user who posted the message | Requires access_token | object containing |
message | The status message content | Requires access_token |
|
place | Location associated with a Status, if any | Requires access_token |
|
updated_time | The time the message was published | Requires access_token |
|
type | The object type which is set to | Requires access_token |
|
You cannot edit any of the fields in the status message object.
A Status message has the following connections.
| Name | Description | Permissions | Returns |
| comments | All of the comments on this message | Requires access_token |
|
| likes | The users that have liked this message | Requires access_token |
|
You can write to the STATUS_MESSAGE_ID/comments connection to post a comment to the status message by issuing an HTTP POST request with the publish_stream permission and following parameters.
| Parameter | Description | Type | Required |
|---|---|---|---|
message |
Comment text | string |
yes |
If the write is successful, you get the following return.
| Name | Description | Type |
|---|---|---|
id |
The new comment ID | string |
You can write to the STATUS_MESSAGE_ID/likes connection to like the status message by issuing an HTTP POST request with the publish_stream permission. No parameters necessary.
If the write is successful, you get the following return.
| Description | Type |
|---|---|
| If the like succeeded | boolean |
You can unlike an status message by issuing an HTTP DELETE request to the STATUS_MESSAGE_ID/likes connection with the publish_stream permission.
If the delete is successful, you get the following return.
| Description | Type |
|---|---|
| If the unlike succeeded | boolean |