A link shared on a user's wall. The User, Application, and Page objects have a links connection.
To read a Link, you need:
access_token if the link is publicread_stream permission if the link is not publicA link shared by Arjun Banker:
https://graph.facebook.com/114961875194024
| Name | Description | Permissions | Returns |
id | The link ID | generic |
|
from | The user that created the link | generic | Object containing the |
link | The URL that was shared | generic |
|
name | The name of the link | generic |
|
comments | All of the comments on this link |
| Array of objects containing |
description | A description of the link (appears beneath the link caption) | generic |
|
icon | A URL to the link icon that Facebook displays in the news feed | generic |
|
picture | A URL to the thumbnail image used in the link post | generic |
|
message | The optional message from the user about this link | generic |
|
created_time | The time the message was published | generic |
|
type | The type of this object; always returns | generic |
|
| Name | Description | Permissions | Returns |
| comments | All of the comments on this link. |
|
|
| likes | Users who like this link. |
|
|
You can comment on a Link by issuing an HTTP POST request to /LINK_ID/comments with the publish_stream permission and following parameters.
| Parameter | Description | Type | Required |
|---|---|---|---|
message |
Comment text | string |
yes |
If the create is successful, you get the following return.
| Name | Description | Type |
|---|---|---|
id |
The new comment ID | string |