Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Threads: Reply type #1402

Closed
nbartels opened this issue Apr 9, 2024 · 0 comments
Closed

Threads: Reply type #1402

nbartels opened this issue Apr 9, 2024 · 0 comments
Assignees
Milestone

Comments

@nbartels
Copy link
Contributor

nbartels commented Apr 9, 2024

https://developers.facebook.com/docs/threads/reply-moderation

Name Decription
id (default) The media's ID.
text Represents text for a Threads reply. This is optional on image, video, and carousel replies.
username Instagram username who created the post.Note: This only works for public users or your own user.
permalink Permanent link to the post. Will be omitted if the media contains copyrighted material or has been flagged for a copyright violation.Note: This only works for public users or your own user.
timestamp The publish date and time of the post in ISO 8601 format.
media_product_type Surface where the media is published. In the case of Threads, the value is THREADS.
media_type The media type for a Threads reply.Values: TEXT_POST, IMAGE, VIDEO, CAROUSEL_ALBUM
media_url The post’s media URL. This only shows for image, video, and carousel replies.
shortcode Shortcode of the media.
thumbnail_url URL of thumbnail. This only shows for Threads replies with video.
children List of child posts. This only shows for carousel replies.
has_replies true if the Threads post or reply has replies that you can see.
root_post Media ID of the top-level post or original thread in the reply tree.Note: This only appears on replies.
replied_to Media ID of the immediate parent of the reply.Note: This only appears on replies.
is_reply true if the Threads media is a reply. false if the Threads media is a top-level post.
hide_status Whether or not the reply is hidden.Values: NOT_HUSHED, UNHUSHED, HIDDEN
{
  "data": [
    {
      "id": "1234567890",
      "text": "First Reply",
      "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",
      "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",
      "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"
    }
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant