Posts

Post Node

Description

This endpoint retrieves details about a specific post node on Facebook based on the provided node ID.

Endpoint

GET api/v1/realtime/social/facebook/v1/posts/node?node_id={{nodeId}}

Parameters

Example Request
curl -X GET 'https://api.webit.live/api/v1/realtime/social/facebook/v1/posts/node?node_id=UzpfSTQ6MTAxMTUxODY0ODg0ODIxNDE%3D' \
--header 'Authorization: Basic <credential string>'
Example Response
{
    "data": {
        "node": {
            "__typename": "Story",
            "strong_id__": "-8416464198292325761",
            "cache_id": "-8416464198292325761",
            "id": "UzpfSTQ6MTAxMTUxODY0ODg0ODIxNDE=",
            "anonymous_profile_header_nt_action": null,
            "header_accent_color": null,
            "paid_partnership_label_tooltip": null,
            "to": null,
            "subtitle": null,
            "creation_time": 1688598059,
            "backdated_time": null,
            "url": "...",
            "display_time_block_info": null,
            "titleFromRenderLocation": null,
            "feed_mobile_title": null,
            "message_markdown_html": null,
            "message_richtext": [],
            "message": {...},
            "suffix": null,
            "is_fox_sharable": false,
            "post_id": "10115186488482141",
            "actors": [...],
            "collaborators": [],
            "tracking": "...",
            "privacy_label": "Public",
            "xposted_destination_apps": [],
            "privacy_scope": {...},
            "save_info": {...},
            "legacy_api_story_id": "4_10115186488482141",
            "hideable_token": "MzQwNDQ1tDAzsbAwsTAyNDGsc80rCS5JLCktdi5KTSzJzM8LLskvqqyrM6mrM6gDAA",
            "negative_feedback_actions": {...},
            "rapid_reporting_prompt": {...},
            "message_truncation_line_limit": 2,
            "is_page_or_profile_plus_post": false,
            "frx_content_overlay_prompt": null,
            "multilingual_author_dialects": [],
            "author_translations": [],
            "translatability_for_viewer": {...},
            "sponsored_data": null,
            "attachments": [...],
            "can_viewer_append_photos": false,
            "can_viewer_edit": false,
            "can_viewer_edit_metatags": false,
            "can_viewer_edit_post_media": false,
            "can_viewer_edit_post_privacy": false,
            "can_viewer_edit_link_attachment": false,
            "can_viewer_delete": false,
            "can_viewer_end_qna": false,
            "can_viewer_see_community_popular_waist": false,
            "can_viewer_reshare_to_story": true,
            "can_viewer_reshare_to_story_now": true,
            "substories_grouping_reasons": [],
            "group_post_topic_tags": [],
            "via": null,
            "with_tags": {...},
            "application": null,
            "substory_count": 0,
            "implicit_place": null,
            "explicit_place": null,
            "page_rec_info": null,
            "is_eligible_to_remix": false,
            "user_allowed_remix_post_level_setting": "NOT_APPLICABLE",
            "remix_prompt_anchor": null,
            "is_automatically_translated": false,
            "is_eligible_for_affiliate_commission": false,
            "sponsor_relationship": 0,
            "sponsor_bumper_format": null,
            "sponsor_bumper_logo": null,
            "action_links": [...],
            "attached_action_links": [],
            "bumpers": null,
            "preference_signals": {...},
            "shareable": {...},
            "integrity_context_image_context_trigger": null,
            "has_comprehensive_title": false,
            "edit_history": {...},
            "inline_activities": {...},
            "display_explanation": null,
            "story_attribution": null,
            "story_header": null,
            "crisis_listing": null,
            "blood_request": null,
            "actions": [],
            "supplemental_social_story": null,
            "viewer_edit_post_feature_capabilities": [...],
            "copyright_block_info": null,
            "copyright_banner_info": null,
            "copyright_attribution_native_template_view": null,
            "camera_post_info": {...},
            "page_exclusive_post_info": null,
            "newsfeed_user_education_items": [],
            "bloks_context_header": null,
            "story_subtitle_bloks_view": null,
            "underlying_admin_creator": null,
            "identity_badges": [],
            "user_signals_info": null,
            "is_anonymous": false,
            "ask_admin_to_post_accept_dialog": null,
            "can_viewer_approve_post": false,
            "ask_admin_to_post_author": null,
            "post_subscription_status_info": null,
            "profile_location_transparency_subtitle_text_with_entities": null,
            "profile_location_transparency_subtitle_tap_action": null,
            "soft_impersonation_subtitle_string": null,
            "soft_impersonation_subtitle_tap_action": null,
            "reshare_warning_action": null,
            "reshare_warning_action_module_type": null,
            "attachment_link_url": "",
            "follow_intervention_action": null,
            "can_show_upsell_header": true,
            "ongoing_crisis_info": null,
            "lightweight_negative_feedback_tooltip": null,
            "should_show_easy_hide": false,
            "sharesheet_type_override": "DEFAULT",
            "product_match_info": {...},
            "send_from_workplace_to_whatsapp": null,
            "cix_screen": null,
            "inform_treatment_for_messaging": null,
            "if_viewer_can_see_commerce_profile": null,
            "page_seller_rating_and_review_info": null,
            "narrative_thread_metadata": null,
            "whatsapp_ad_context": null,
            "referenced_sticker": null,
            "text_format_metadata": null,
            "album": null,
            "verified_voice_context": null,
            "branded_content_integrity_context_trigger": null,
            "subscribed_label_integrity_context_trigger": null,
            "multiShareAttachmentWithImageFields": [],
            "feedback": {...},
            "insights": null,
            "post_insights": null,
            "pages_post_level_insights_qe": 0,
            "promotion_info": null,
            "post_promotion_info": null,
            "story_promotions_info": {...},
            "attached_story": null,
            "attached_story_render_style": "DEFAULT",
            "all_substories": {...},
            "wwwURL": "https://www.facebook.com/4/posts/pfbid07VXyRW1c92uBovHxtRqd5Z6V2YhD6TBjSaRShgyJdqbmuADcNEVxf514QN9BbT4Ul/"
        }
    },
    "extensions": {
        "fulfilled_payloads": [...],
        "server_metadata": {
            "request_start_time_ms": 1724662267975,
            "time_at_flush_ms": 1724662268361
        },
        "is_final": true
    }
}

Post Reactions Counts

Description

This endpoint retrieves the count of various reactions (likes, loves, etc.) for a specific Facebook post based on its post ID

Endpoint

GET api/v1/realtime/social/facebook/v1/posts/{{postId}}/reactions-counts

Parameters

Example Request
curl -X GET 'https://api.webit.live/api/v1/realtime/social/facebook/v1/posts/10115186488482141/reactions-counts' \
--header 'Authorization: Basic <credential string>'
Example Response
{
    "data": {
        "node": {
            "__typename": "Feedback",
            "strong_id__": "ZmVlZGJhY2s6MTAxMTUxODY0ODg0ODIxNDE=",
            "id": "ZmVlZGJhY2s6MTAxMTUxODY0ODg0ODIxNDE=",
            "legacy_api_post_id": "10115186488482141",
            "top_reactions": {
                "edges": [
                    {
                        "reaction_count": 133967,
                        "node": {
                            "id": "1635855486666999"
                        }
                    },
                    {
                        "reaction_count": 51909,
                        "node": {
                            "id": "1678524932434102"
                        }
                    },
                    {
                        "reaction_count": 16083,
                        "node": {
                            "id": "478547315650144"
                        }
                    },
                    {
                        "reaction_count": 4165,
                        "node": {
                            "id": "115940658764963"
                        }
                    },
                    {
                        "reaction_count": 2380,
                        "node": {
                            "id": "613557422527858"
                        }
                    },
                    {
                        "reaction_count": 302,
                        "node": {
                            "id": "444813342392137"
                        }
                    },
                    {
                        "reaction_count": 146,
                        "node": {
                            "id": "908563459236466"
                        }
                    }
                ]
            }
        }
    },
    "extensions": {
        "server_metadata": {
            "request_start_time_ms": 1724662756611,
            "time_at_flush_ms": 1724662756636
        },
        "is_final": true
    }
}

Post False Information

Description

This endpoint retrieves information about whether a specific Facebook post, identified by its post ID, has been flagged for false or misleading information

Endpoint

GET api/v1/realtime/social/facebook/v1/posts/{{postId}}/false-information

Parameters

Example Request
curl -X GET 'https://api.webit.live/api/v1/realtime/social/facebook/v1/posts/10115186488482141/false-information' \
--header 'Authorization: Basic <credential string>'
Example Response
{
    "data": {
        "node": {
            "__typename": "Feedback",
            "strong_id__": "ZmVlZGJhY2s6MTAxMTUxODY0ODg0ODIxNDE=",
            "id": "ZmVlZGJhY2s6MTAxMTUxODY0ODg0ODIxNDE=",
            "legacy_api_post_id": "10115186488482141",
            "top_reactions": {
                "edges": [
                    {
                        "reaction_count": 133966,
                        "node": {
                            "id": "1635855486666999"
                        }
                    },
                    {
                        "reaction_count": 51909,
                        "node": {
                            "id": "1678524932434102"
                        }
                    },
                    {
                        "reaction_count": 16083,
                        "node": {
                            "id": "478547315650144"
                        }
                    },
                    {
                        "reaction_count": 4165,
                        "node": {
                            "id": "115940658764963"
                        }
                    },
                    {
                        "reaction_count": 2380,
                        "node": {
                            "id": "613557422527858"
                        }
                    },
                    {
                        "reaction_count": 302,
                        "node": {
                            "id": "444813342392137"
                        }
                    },
                    {
                        "reaction_count": 146,
                        "node": {
                            "id": "908563459236466"
                        }
                    }
                ]
            }
        }
    },
    "extensions": {
        "server_metadata": {
            "request_start_time_ms": 1724662940926,
            "time_at_flush_ms": 1724662940969
        },
        "is_final": true
    }
}

Post Comments

Description

This endpoint retrieves the comments on a specific Facebook post based on its post ID. It provides details of all the comments associated with the post.

Endpoint

POST api/v1/realtime/social/facebook/v1/posts/{{postId}}/false-information

Parameters

Example Request
curl -X POST 'https://api.webit.live/api/v1/realtime/social/facebook/v1/posts/10115186488482141/comments' \
--header 'Authorization: Basic <credential string>' \
--data '{
    "transform": true
}'
Example Response
{
    "id": "ZmVlZGJhY2s6MTAxMTUxODY0ODg0ODIxNDE=",
    "reactions": 208951,
    "likes": 133966,
    "author": {
        "id": "4",
        "name": "Mark Zuckerberg",
        "url": "https://www.facebook.com/4"
    },
    "comments_count": 21525,
    "comments": [
    {
            "id": "Y29tbWVudDoxMDExNTE4NjQ4ODQ4MjE0MV80NzU2MTAxNzUyMTM4MzE=",
            "feedback": {
                "reaction_count": 0,
                "comment_count": 0,
                "like_count": 0,
                "reactions": []
            },
            "author": {
                "id": "100042135840549",
                "name": "Mich Gang",
                "gender": "MALE",
                "profile_picture": "https://scontent-mia3-2.xx.fbcdn.net/v/t39.30808-1/367458504_1043602580387594_3478772481788945629_n.jpg?stp=c0.0.718.718a_cp0_dst-jpg_e15_q65_s112x112&_nc_cat=102&ccb=1-7&_nc_sid=50d2ac&_nc_ohc=dS9DGbRlZd4Q7kNvgHaPuyT&_nc_ad=z-m&_nc_cid=0&_nc_ht=scontent-mia3-2.xx&oh=00_AYCOdRUqD5nwu4uU9kxOm59UkTpTCKJ0Em-Qq9yens8nOg&oe=66D220CA",
                "url": "https://www.facebook.com/michel.assogba.92317"
            },
            "is_featured": false,
            "created_time": 1722465444,
            "body": "🤍✨",
            "depth": 0,
            "attachments": [],
            "edit_history": 0,
            "url": "https://www.facebook.com/story.php?story_fbid=pfbid07VXyRW1c92uBovHxtRqd5Z6V2YhD6TBjSaRShgyJdqbmuADcNEVxf514QN9BbT4Ul&id=4&post_id=4_pfbid07VXyRW1c92uBovHxtRqd5Z6V2YhD6TBjSaRShgyJdqbmuADcNEVxf514QN9BbT4Ul&comment_id=475610175213831"
        },
        ...
    ],
    "page_info": {
        "start_cursor": "AQHR7xV4DF_okJPaZuk4gIvvc5bwocnZy_6u45fZ8iacKiCuB03GkwRBqw3NqAEgsXssEvkVlJ8jJIsl8s0LzfOmJA",
        "end_cursor": "AQHRrmXHWg1vnBsmWNXs_OlJpvLyNSBu6mV-5oTstUV6jQc1FWfnVGLrvLh-3Sms0Jnp1TN3IwdAIIgsq9NQ6-KPQA",
        "has_previous_page": false,
        "has_next_page": true
    }
}

Post Reactors

Description

This endpoint retrieves information about users who have reacted to a specific Facebook post, identified by its post ID.

Endpoint

POST api/v1/realtime/social/facebook/v1/posts/{{postId}}/reactors

Parameters

Example Request
curl -X POST 'https://api.webit.live/api/v1/realtime/social/facebook/v1/posts/10115186488482141/reactors' \
--header 'Authorization: Basic <credential string>' \
--data '{
    "transform": true
}'
Example Response
{
    "id": "ZmVlZGJhY2s6MTAxMTUxODY0ODg0ODIxNDE=",
    "results": [
        {
            "actor": {
                "id": "100051657708948",
                "name": "Naty Wrld",
                "profile_picture": "https://scontent-lga3-2.xx.fbcdn.net/v/t39.30808-1/454002551_1018685983196649_70551058624658154_n.jpg?stp=c160.0.960.960a_cp0_dst-jpg_e15_q65_s112x112&_nc_cat=100&ccb=1-7&_nc_sid=50d2ac&_nc_ohc=oSwvg9qm_y4Q7kNvgExcbAf&_nc_ad=z-m&_nc_cid=0&_nc_ht=scontent-lga3-2.xx&oh=00_AYBvHGxkKLfz54tcOInqXtLlaLg5HLiuf2cr732joYIimQ&oe=66D20358",
                "url": "https://www.facebook.com/100051657708948"
            },
            "reaction": "1635855486666999"
        },
        ...
    ],
    "page_info": {
        "start_cursor": "AQHRKqdm4uKJ1LzSOvg_BUu8cHI_6tFbL3i412nwlEGYiCyVltl3d_va0v8_CvvyEJRmYtiy0iaEK-V1fXbIzSaL4w",
        "end_cursor": "AQHRaxRoXYktnJCQSCXljOxwCwwXSlcg72PNQ5Je6VvnaVg0FbRL6JZ5gofA-zDHzXvoPozA2pYLrmpSM_JjabFgjw",
        "has_previous_page": false,
        "has_next_page": true
    }
}

Post Shares

Description

his endpoint retrieves information about how many times a specific Facebook post, identified by its post ID, has been shared.

Endpoint

POST api/v1/realtime/social/facebook/v1/posts/{{postId}}/shares

Parameters

Example Request
curl -X POST 'https://api.webit.live/api/v1/realtime/social/facebook/v1/posts/10115186488482141/shares' \
--header 'Authorization: Basic <credential string>' \
--data '{
    "transform": true
}'
Example Response
{
    "data": {
        "node": {
            "__typename": "Feedback",
            "id": "ZmVlZGJhY2s6MTAxMTUxODY0ODg0ODIxNDE=",
            "reshares": {
                "edges": [
                    {
                        "node": {
                            "id": "UzpfSTYxNTYzMzc0Mjg4MTEyOjEyMjEwMTU3OTgzMjQ0NTgwOToxMjIxMDE1Nzk4MzI0NDU4MDk=",
                            "post_id": "122101579832445809",
                            "cix_screen": null,
                            "future_of_feed_info": {...},
                            "attached_story": {...},
                            "bumpers": null,
                            "comet_sections": {
                                "content": {...},
                                "layout": {...},
                                "copyright_violation_header": null,
                                "header": null,
                                "context_layout": {...},
                                "aymt_footer": null,
                                "footer": null,
                                "feedback": {...},
                                "outer_footer": null,
                                "call_to_action": {...},
                                "post_inform_treatment": null
                            },
                            "encrypted_tracking": "...",
                            "should_host_actor_link_in_watch": false,
                            "debug_info": null,
                            "feedback": {
                                "id": "ZmVlZGJhY2s6MTIyMTAxNTc5ODMyNDQ1ODA5",
                                "associated_group": null
                            },
                            "whatsapp_ad_context": null,
                            "schema_context": null,
                            "__typename": "Story"
                        },
                        "cursor": "AQHRekYwV6YpFIuH3mwcBg0nv28eXeXX4Ha9bk4hzrw-plWBu2MzPUCpfFFjGwCwqKCQjc2V4rMuuntoVeLIfBTy-w"
                    }
                ],
                "page_info": {
                    "end_cursor": "AQHRp8JRD-bR3egD4CsEAJ4HjlamTweUDYZgc2QURYPN7Xx_9aR5yCEWM5mqUCqKr04X2tt0_7_o_gqVL7RRkIJQBQ",
                    "has_next_page": true
                }
            }
        }
    }
}

Post Media Fetch By Id

Description

This endpoint retrieves detailed information about a specific media item associated with a Facebook post, based on its media ID.

Endpoint

POST api/v1/realtime/social/facebook/v1/posts/media/{{mediaId}}

Parameters

Example Request
curl -X POST 'https://api.webit.live/api/v1/realtime/social/facebook/v1/posts/media/1417821212391916' \
--header 'Authorization: Basic <credential string>'
Example Response
{
    "data": {
        "nodes": [
            {
                "__typename": "Photo",
                "strong_id__": "1417821212391916",
                "id": "1417821212391916",
                "image": {...},
                "created_time": 1682937154,
                "inline_activities": {...},
                "owner": {...},
                "playable_duration_in_ms": 0,
                "structured_reporting_action": null,
                "can_viewer_report": true,
                "creation_story": {...},
                "can_viewer_make_cover_photo": false,
                "can_viewer_delete": false,
                "imageThumbnail": {...},
                "imageHigh": {...},
                "imageHighOrig": {...},
                "message": null,
                "is_playable": false,
                "imageLow": {...},
                "imageMedium": {...},
                "focus": {...},
                "should_block_screenshot": false,
                "largeThumbnail": {...},
                "album": null,
                "should_upsell_as_viewer_profile_picture": false,
                "should_upsell_as_viewer_featured_photo": false,
                "should_upsell_as_viewer_featured_photo_aggressively": false,
                "can_viewer_add_tags": false,
                "can_viewer_untag": false,
                "can_viewer_download": true,
                "can_viewer_search_photo": false,
                "can_viewer_share": true,
                "can_viewer_share_externally": true,
                "can_viewer_edit": false,
                "should_show_profile_picture_guard": false,
                "is_viewers_current_profile_picture": false,
                "can_viewer_suggest_location": false,
                "pending_place": null,
                "has_stickers": false,
                "face_boxes": {...},
                "tags": {...},
                "with_tags": {...},
                "implicit_place": null,
                "profile_picture_overlay": null,
                "attribution_app": null,
                "attribution_app_metadata": null,
                "explicit_place": null,
                "playable_url": null,
                "message_button": null,
                "privacy_scope": {...},
                "container_story": {...},
                "legacy_photo_container": null,
                "is_spherical": false,
                "photo_encodings": [],
                "immersive_photo_encodings": [],
                "android_urls": [],
                "open_graph_action": null,
                "render_product_tagging_new_format": true,
                "product_tags": [],
                "feedback": {...},
                "call_now_button": null,
                "is_profile_picture_of_owner": false,
                "automatic_accessibility_caption": "No photo description available.",
                "custom_accessibility_caption": null,
                "is_delegating_delete": false,
                "cix_screen": null,
                "boost_post_button": null,
                "is_synced_messenger_photo": false,
                "url": "https://www.facebook.com/photo.php?fbid=1417821212391916&set=gm.3538631953128797&type=3",
                "frx_entrypoint_label": "Report photo",
                "copyright_block_info": null
            }
        ]
    },
    "extensions": {
        "server_metadata": {
            "request_start_time_ms": 1724663731467,
            "time_at_flush_ms": 1724663731663
        },
        "is_final": true
    }
}

Last updated