Comments

Child Comment

Description

This endpoint retrieves the child comments (replies) for a specific comment on an Instagram media post.

Endpont

GET api/v1/instagram/v1/media/{{mediaId}}/comments/{{commentId}}/child_comments/

Parameters

Param
Required
Param Type
Description

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.

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.

Endpont

GET api/v1/instagram/v1/comment/{{commentId}}/likers/

Parameters

Param
Required
Param Type
Description

commentId

Yes

Path Param

String | The unique identifier for the parent comment whose child comments are to be retrieved.

Example Request
curl -X GET 'https://api.webit.live/api/v1/realtime/social/instagram/v1/comment/17857488215762822/likers/' \
--header 'Authorization: Basic <credential string>'
Example Response
{
    "users": [
        {
            "pk": 3223491584,
            "pk_id": "3223491584",
            "id": "3223491584",
            "full_name": "",
            "is_private": true,
            "strong_id__": "3223491584",
            "username": "indiyahxx",
            "is_verified": false,
            "profile_pic_id": "1986035850957358411_3223491584",
            "profile_pic_url": "https://scontent-lga3-2.cdninstagram.com/v/t51.2885-19/51600959_590003171516635_2620713869206618112_n.jpg?stp=dst-jpg_e0_s150x150&_nc_ht=scontent-lga3-2.cdninstagram.com&_nc_cat=107&_nc_ohc=2-IwLMcPUIcQ7kNvgFLZ8mG&_nc_gid=230b75d705c641209390a8dcbbb0c73a&edm=AM4BWfUBAAAA&ccb=7-5&oh=00_AYDDYaIK9ssBYyqzmhbAd6nMBrTn-KKybvlcajtD5KIKyQ&oe=66D18117&_nc_sid=0c84a0"
        },
        ...
    ],
    "status": "ok"
}

Last updated