There are two ways of retrieving a thread's replies: GET {media-id}/replies and GET {media-id}/conversation.
GET {media-id}/replies only returns the top-level replies under the Threads ID provided in the request, while GET {media-id}/conversation returns all replies, regardless of the depth, either in chronological or reverse chronological order.
These parameters are for both GET {media-id}/replies and GET {media-id}/conversation.
| Name | Description |
|---|---|
|
|
These fields are for both GET {media-id}/replies and GET {media-id}/conversation.
| Name | Description |
|---|---|
| The media's ID. |
| Represents text for a Threads reply. This is optional on image, video, and carousel replies. |
| Threads username who created the post. |
| Permanent link to the post. Will be omitted if the media contains copyrighted material or has been flagged for a copyright violation. |
| The publish date and time of the post in ISO 8601 format. |
| Surface where the media is published. In the case of Threads, the value is |
| The media type for a Threads reply will be one of these values: |
| The post’s media URL. This only shows for image, video, and carousel replies. |
| Shortcode of the media. |
| URL of thumbnail. This only shows for Threads replies with video. |
| List of child posts. This only shows for carousel replies. |
| Indicates if the media is a quoted reply made by another user. |
| Media ID of the post that was quoted. |
|
|
| Media ID of the top-level post or original thread in the reply tree. |
| Media ID of the immediate parent of the reply. |
|
|
|
|
| Whether or not the reply is hidden. |
| Who can reply to your post. |
| The URL of the GIF attached to the post (if any). |
| The poll attachment for the post. |
| The topic tag for the post (if any). |
| Returns |
| Returns the URL of the post author's profile picture on Threads. |
Use {media-id}/replies to fetch a paginated list of all top-level replies.
This endpoint is applicable to the use cases that focus on the depth level of the replies. The endpoint returns the immediate replies of the requested Threads ID. has_replies indicates whether a Thread has nested replies or not and the field can be used to decide to chain further subsequent GET calls to retrieve replies located in the deeper levels.
curl -s -X GET \ "https://graph.threads.net/v1.0/<MEDIA_ID>/replies?fields=id,text,topic_tag,timestamp,media_product_type,media_type,media_url,shortcode,thumbnail_url,children,has_replies,root_post,replied_to,is_reply,hide_status&reverse=false&access_token=<ACCESS_TOKEN>"
{
"data": [
{
"id": "1234567890",
"text": "First Reply",
"topic_tag": "First Topic",
"timestamp": "2024-01-01T18:20:00+0000",
"media_product_type": "THREADS",
"media_type": "TEXT_POST",
"shortcode": "abcdefg",
"has_replies": true,
"root_post": {
"id": "1234567890"
},
"replied_to": {
"id": "1234567890"
},
"is_reply": true,
"hide_status": "NOT_HUSHED"
},
{
"id": "1234567890",
"text": "Second Reply",
"topic_tag": "Second Topic",
"timestamp": "2024-01-01T18:20:00+0000",
"media_product_type": "THREADS",
"media_type": "TEXT_POST",
"shortcode": "abcdefg",
"has_replies": false,
"root_post": {
"id": "1234567890"
},
"replied_to": {
"id": "1234567890"
},
"is_reply": true,
"hide_status": "HIDDEN"
},
{
"id": "1234567890",
"text": "Third Reply",
"topic_tag": "Third Topic",
"timestamp": "2024-01-01T18:20:00+0000",
"media_product_type": "THREADS",
"media_type": "TEXT_POST",
"shortcode": "abcdefg",
"has_replies": false,
"root_post": {
"id": "1234567890"
},
"replied_to": {
"id": "1234567890"
},
"is_reply": true,
"hide_status": "UNHUSHED"
}
],
"paging": {
"cursors": {
"before": "BEFORE_CURSOR",
"after": "AFTER_CURSOR"
}
}
}
Use {media-id}/conversation to fetch a paginated and flattened list of all top-level and nested replies.
This endpoint is applicable to specific use cases that do not focus on the knowledge of the depthness of the replies. Note: This endpoint is only intended to be used on the root-level threads with replies.
curl -s -X GET \ "https://graph.threads.net/v1.0/<MEDIA_ID>/conversation?fields=id,text,timestamp,media_product_type,media_type,media_url,shortcode,thumbnail_url,children,has_replies,root_post,replied_to,is_reply,hide_status&reverse=false&access_token=<ACCESS_TOKEN>"
{
"data": [
{
"id": "1234567890",
"text": "First Reply",
"topic_tag": "First Topic",
"timestamp": "2024-01-01T18:20:00+0000",
"media_product_type": "THREADS",
"media_type": "TEXT_POST",
"shortcode": "abcdefg",
"has_replies": true,
"root_post": {
"id": "1234567890"
},
"replied_to": {
"id": "1234567890"
},
"is_reply": true,
"hide_status": "NOT_HUSHED"
},
{
"id": "1234567890",
"text": "Second Reply",
"topic_tag": "Second Topic",
"timestamp": "2024-01-01T18:20:00+0000",
"media_product_type": "THREADS",
"media_type": "TEXT_POST",
"shortcode": "abcdefg",
"has_replies": false,
"root_post": {
"id": "1234567890"
},
"replied_to": {
"id": "1234567890"
},
"is_reply": true,
"hide_status": "HIDDEN"
},
{
"id": "1234567890",
"text": "Third Reply",
"topic_tag": "Third Topic",
"timestamp": "2024-01-01T18:20:00+0000",
"media_product_type": "THREADS",
"media_type": "TEXT_POST",
"shortcode": "abcdefg",
"has_replies": false,
"root_post": {
"id": "1234567890"
},
"replied_to": {
"id": "1234567890"
},
"is_reply": true,
"hide_status": "UNHUSHED"
},
{
"id": "1234567890",
"text": "Nested Reply",
"topic_tag": "Nested Topic",
"timestamp": "2024-01-01T18:20:00+0000",
"media_product_type": "THREADS",
"media_type": "TEXT_POST",
"shortcode": "abcdefg",
"has_replies": false,
"root_post": {
"id": "1234567890"
},
"replied_to": {
"id": "1234567890"
},
"is_reply": true,
"hide_status": "NOT_HUSHED"
}
],
"paging": {
"cursors": {
"before": "BEFORE_CURSOR",
"after": "AFTER_CURSOR"
}
}
}