Comments
Child Comment
Description
This endpoint retrieves the child comments (replies) for a specific comment on an Instagram media post.
Endpoint
GET api/v1/instagram/v1/media/{{mediaId}}/comments/{{commentId}}/child_comments/
For pagination, pass either the max_id or min_id query param based on the returned cursor, if the response contains the next_min_child_cursor field, pass it's value to the min_id query param. If the response contains the next_max_child_cursor field, pass it's value to the max_id query param
Parameters
mediaId
Yes
Path Param
String | The unique identifier for the Instagram media (post) containing the comment.
commentId
Yes
Path Param
String | The unique identifier for the parent comment whose child comments are to be retrieved.
max_id
No
Query Param
String | used as pagination cursor -
Use the value of the next_max_child_cursor field from the response as the value for pagination
min_id
No
Query Param
String | used as pagination cursor -
Use the value of the next_min_child_cursor field from the response as the value for pagination
Example Request
curl -X GET 'https://api.webit.live/api/v1/realtime/social/instagram/v1/media/2899220620453950098/comments/17857488215762822/child_comments/' \
--header 'Authorization: Basic <credential string>'Example Response
{
"parent_comment": {
"pk": "17857488215762822",
"user_id": 6590609,
"type": 0,
"did_report_as_spam": false,
"created_at": 1659835363,
"created_at_utc": 1659835363,
"created_at_for_fb_app": 1659835363,
"content_type": "comment",
"status": "Active",
"bit_flags": 0,
"share_enabled": false,
"is_ranked_comment": false,
"media_id": "2899220620453950098",
"strong_id__": "17857488215762822",
"has_liked_comment": false,
"comment_like_count": 5004,
"private_reply_status": 0,
"text": "πππππ βLook what I can doβ ππππππππ",
"is_covered": false,
"user": {...}
},
"child_comments": [
{
"pk": "17845593896810010",
"user_id": 23188022937,
"type": 2,
"did_report_as_spam": false,
"created_at": 1659835465,
"created_at_utc": 1659835465,
"created_at_for_fb_app": 1659835465,
"content_type": "comment",
"status": "Active",
"bit_flags": 0,
"share_enabled": false,
"is_ranked_comment": false,
"media_id": "2899220620453950098",
"parent_comment_id": "17857488215762822",
"child_comment_index": 0,
"replied_to_comment_id": "17857488215762822",
"strong_id__": "17845593896810010",
"has_liked_comment": false,
"comment_like_count": 3,
"private_reply_status": 0,
"text": "@kevinhart4real πππππ",
"is_covered": false,
"user": {...}
},
...
],
"child_comment_count": 41,
"has_more_tail_child_comments": false,
"has_more_head_child_comments": true,
"is_ranked_replies": false,
"next_min_child_cursor": "...",
"num_head_child_comments": 31,
"liked_by_media_owner_badge_enabled": false,
"status": "ok"
}Comment Likers
Description
This endpoint retrieves a list of users who have liked a specific Instagram comment.
Endpoint
GET api/v1/instagram/v1/comment/{{commentId}}/likers/
Parameters
commentId
Yes
Path Param
String | The unique identifier for the parent comment whose child comments are to be retrieved.
Last updated
