Posts

Media Info

Description

This endpoint retrieves detailed information about a specific Instagram media (post) based on its media ID.

Endpont

GET api/v1/realtime/social/instagram/v1/media/{{mediaId}}/info/

Parameters

ParamRequiredParam TypeDescription

mediaId

Yes

Path Param

String | The unique identifier for the Instagram media (post) whose detailed information is to be retrieved

Example Request
curl -X GET 'https://api.webit.live/api/v1/realtime/social/instagram/v1/media/2489189987845943833_7593209169/info' \
--header 'Authorization: Basic <credential string>'
Example Response
{
    "num_results": 1,
    "more_available": false,
    "items": [
        {
            "taken_at": 1610954591,
            "pk": "2489189987845943833",
            "id": "2489189987845943833_7593209169",
            "fbid": "18116727559174565",
            "device_timestamp": 386103730915420,
            "caption_is_edited": false,
            "strong_id__": "2489189987845943833_7593209169",
            "deleted_reason": 0,
            "has_shared_to_fb": 0,
            "has_delayed_metadata": false,
            "is_quiet_post": false,
            "mezql_token": "",
            "share_count_disabled": false,
            "is_visual_reply_commenter_notice_enabled": true,
            "like_and_view_counts_disabled": false,
            "is_post_live_clips_media": false,
            "comment_threading_enabled": true,
            "is_unified_video": false,
            "commerciality_status": "not_commercial",
            "client_cache_key": "MjQ4OTE4OTk4Nzg0NTk0MzgzMw==.2",
            "integrity_review_decision": "pending",
            "should_request_ads": false,
            "is_reshare_of_text_post_app_media_in_ig": false,
            "has_privately_liked": false,
            "filter_type": 0,
            "can_see_insights_as_brand": false,
            "media_type": 1,
            "code": "CKLYRsMBDIZ",
            "caption": {...},
            "fundraiser_tag": {...},
            "sharing_friction_info": {...},
            "original_media_has_visual_reply_media": false,
            "fb_user_tags": {...},
            "coauthor_producers": [],
            "invited_coauthor_producers": [],
            "mashup_info": {...},
            "is_in_profile_grid": false,
            "profile_grid_control_enabled": false,
            "user": {...},
            "owner": {...},
            "image_versions2": {...},
            "original_width": 1080,
            "original_height": 1108,
            "enable_media_notes_production": false,
            "product_type": "feed",
            "is_paid_partnership": false,
            "music_metadata": {...},
            "organic_tracking_token": "...",
            "ig_media_sharing_disabled": false,
            "boost_unavailable_identifier": null,
            "boost_unavailable_reason": null,
            "subscribe_cta_visible": false,
            "is_cutout_sticker_allowed": false,
            "gen_ai_detection_method": {...},
            "fb_aggregated_like_count": 0,
            "fb_aggregated_comment_count": 0,
            "has_high_risk_gen_ai_inform_treatment": false,
            "open_carousel_show_follow_button": false,
            "is_tagged_media_shared_to_viewer_profile_grid": false,
            "should_show_author_pog_for_tagged_media_shared_to_profile_grid": false,
            "is_eligible_for_media_note_recs_nux": false,
            "is_social_ufi_disabled": false,
            "is_eligible_for_meta_ai_share": false,
            "is_reuse_allowed": false,
            "can_view_more_preview_comments": false,
            "preview_comments": [],
            "comment_count": 0,
            "hide_view_all_comment_entrypoint": false,
            "inline_composer_display_condition": "impression_trigger",
            "inline_composer_imp_trigger_time": 5,
            "is_comments_gif_composer_enabled": true,
            "comment_inform_treatment": {...},
            "has_liked": false,
            "like_count": 122,
            "facepile_top_likers": [],
            "top_likers": [],
            "clips_tab_pinned_user_ids": [],
            "can_viewer_save": true,
            "can_viewer_reshare": true,
            "shop_routing_user_id": null,
            "is_organic_product_tagging_eligible": true,
            "igbio_product": null,
            "featured_products": [],
            "product_suggestions": [],
            "commerce_integrity_review_decision": "",
            "has_more_comments": false,
            "max_num_visible_preview_comments": 2,
            "explore_hide_comments": false,
            "is_open_to_public_submission": false
        }
    ],
    "auto_load_more_enabled": true,
    "status": "ok"
}

Post Comments

Description

This endpoint retrieves the comments for a specific Instagram post based on its media ID.

Endpont

GET api/v1/realtime/social/instagram/v1/media/{{mediaId}}/comments/

Parameters

ParamRequiredParam TypeDescription

mediaId

Yes

Path Param

String | The unique identifier for the Instagram media (post) whose comments are to be retrieved

Example Request
curl -X GET 'https://api.webit.live/api/v1/realtime/social/instagram/v1/media/2489189987845943833_7593209169/comments' \
--header 'Authorization: Basic <credential string>'
Example Response
{
    "can_view_more_preview_comments": false,
    "caption": {...},
    "caption_is_edited": false,
    "comment_count": 0,
    "comment_cover_pos": "bottom",
    "comment_filter_param": "no_filter",
    "comment_likes_enabled": true,
    "comments": [],
    "has_more_comments": false,
    "has_more_headload_comments": false,
    "initiate_at_top": true,
    "insert_new_comment_to_top": true,
    "liked_by_media_owner_badge_enabled": false,
    "media_header_display": "none",
    "preview_comments": [],
    "quick_response_emojis": [...],
    "scroll_behavior": 1,
    "threading_enabled": true,
    "status": "ok"
}

Post Likes

Description

This endpoint retrieves a list of users who have liked a specific Instagram post based on its media ID.

Endpont

GET api/v1/realtime/social/instagram/v1/media/{{mediaId}}/likers/

Parameters

ParamRequiredParam TypeDescription

mediaId

Yes

Path Param

String | The unique identifier for the Instagram media (post) whose likers are to be retrieved

Example Request
curl -X GET 'https://api.webit.live/api/v1/realtime/social/instagram/v1/media/2489189987845943833_7593209169/likers' \
--header 'Authorization: Basic <credential string>'
Example Response
{
    "users": [
        {
            "pk": 6897126659,
            "pk_id": "6897126659",
            "full_name": "Jose 🤟",
            "is_private": true,
            "strong_id__": "6897126659",
            "id": "6897126659",
            "username": "jose_ssdops",
            "is_verified": false,
            "profile_pic_id": "2845120406391217777_6897126659",
            "profile_pic_url": "https://scontent-dfw5-1.cdninstagram.com/v/t51.2885-19/283266995_587348945839547_2553294313490476191_n.jpg?stp=dst-jpg_e0_s150x150&_nc_ht=scontent-dfw5-1.cdninstagram.com&_nc_cat=111&_nc_ohc=xT5XV5IzqNoQ7kNvgH24zlS&edm=APwHDrQBAAAA&ccb=7-5&oh=00_AYCGw3itHF0lgOqAoFvqB6eu0aAaPDT-oz493a0rrkFSuw&oe=66D13315&_nc_sid=8809c9",
            "account_badges": [],
            "latest_reel_media": 0
        },
        ...
    ],
    "user_count": 122,
    "status": "ok"
}

Last updated