Pages

Page Details

Description

This endpoint retrieves detailed information about a specific Facebook page based on its page ID. The transform parameter can be used to modify or format the response according to specific requirements.

Endpoint

GET api/v1/realtime/social/facebook/v1/pages/{{pageId}}/details?transform={{transform}}

Parameters

Param
Required
Param Type
Description

pageId

Yes

Path Param

String | The unique identifier for the Facebook page whose details are to be retrieved.

Example Request
curl -X GET 'https://api.webit.live/api/v1/realtime/social/facebook/v1/pages/5634829153/details' \
--header 'Authorization: Basic <credential string>'
Example Response
{
    "results": {
        "id": "5634829153",
        "url": "https://facebook.com/5634829153",
        "name": "Salesforce",
        "description": null,
        "side_text": "We're Salesforce, the Customer Company. 👋 Data + AI + CRM + Trust = Customer Magic.",
        "website": "http://www.salesforce.com/",
        "phone": "(415) 901-7000",
        "likes": 790965,
        "followers": 806282,
        "whatsapp": null,
        "categories": [
            {
                "text": "Internet Company",
                "url": "https://www.facebook.com/pages/category/internet-company/"
            }
        ],
        "connected_accounts": [],
        "price_range": null,
        "open_hours": []
    }
}

Page About Tab

Description

This endpoint retrieves the "About" tab information for a specific Facebook page based on its page ID.

Endpoint

GET api/v1/realtime/social/facebook/v1/pages/{{pageId}}/about

Parameters

Param
Required
Param Type
Description

pageId

Yes

Path Param

String | The unique identifier for the Facebook page whose details are to be retrieved.

Example Request
curl -X GET 'https://api.webit.live/api/v1/realtime/social/facebook/v1/pages/8576093908/about' \
--header 'Authorization: Basic <credential string>'
Example Response
{
    "data": {
        "page": {
            "id": "8576093908",
            "connected_whatsapp_number": null,
            "content_list_view": {
                "default_padding": 8,
                "divider_horizontal_padding": 0,
                "remove_first_card_padding": false,
                "cards": {
                    "page_info": {
                        "start_cursor": null,
                        "end_cursor": "0",
                        "has_next_page": false,
                        "has_previous_page": false
                    },
                    "edges": []
                }
            }
        }
    }
}

Page Reviews

Description

This endpoint retrieves the page reviews.

Endpoint

GET api/v1/realtime/social/facebook/v1/pages/{{pageId}}/reviews

Parameters

Param
Required
Param Type
Description

pageId

Yes

Path Param

String | The unique identifier for the Facebook page whose details are to be retrieved.

cursor

No

Path Param

The cursor to paginate.

Example Request
curl -X GET 'https://api.webit.live/api/v1/realtime/social/facebook/v1/pages/8576093908/reviews' \
--header 'Authorization: Basic <credential string>'
Example Response
{
    "percentage": null,
    "recommendations_percentage": 2,
    "reviews": [
        {
            "__typename": "Story",
            "id": "UzpfSTEwMDAwMDQ4NjM1NzY3Mzo1NzU3NTY5ODE0MjY5MTczOjU3NTc1Njk4MTQyNjkxNzM=",
            "post_id": "5757569814269173",
            "creation_time": 1612281273,
            "url": "https://m.facebook.com/story.php?story_fbid=pfbid0376T68DcSBwhtb5jr9YhYrGyVNjPP1eu5gAhTMxCPZz5TuoHBkRVSFhG4gYM7ceYel&id=100000486357673",
            "message": {
                "text": "אלופים טעים ממש ממליץ בחום!",
                "entity_ranges": []
            },
            "actors": [
                {
                    "id": "100000486357673",
                    "name": "Or Meidan",
                    "gender": "MALE",
                    "profile_picture": "https://scontent.flhr13-1.fna.fbcdn.net/v/t39.30808-1/280376696_8290698867622909_8248219143405975222_n.jpg?stp=cp0_dst-jpg_e15_q65_s50x50_tt6&_nc_cat=105&ccb=1-7&_nc_sid=e99d92&_nc_ohc=JkLZH2XwoRgQ7kNvgGj3mCd&_nc_ad=z-m&_nc_cid=0&_nc_zt=24&_nc_ht=scontent.flhr13-1.fna&oh=00_AYBXuRpDVyjtuIAB_SBisz9ZRMqLsAqZ3QFnt_F13SMCEw&oe=67777195",
                    "is_verified": false,
                    "is_plus_actor": false,
                    "url": "https://m.facebook.com/meidan1",
                    "__typename": "User"
                }
            ],
            "collaborators": [],
            "attachments": [],
            "attached_story": null,
            "privacy_scope": "Public",
            "edit_history": 0,
            "is_anonymous": false,
            "explicit_place": null,
            "feedback": {
                "reaction_count": 1,
                "comment_count": 0,
                "sub_comment_count": 0,
                "like_count": 0,
                "share_count": 0,
                "reactions": [
                    {
                        "reaction_count": 1,
                        "id": "1678524932434102"
                    }
                ]
            },
            "translatability_for_viewer": "Hebrew",
            "tracking": "{\"top_level_post_id\":\"5757569814269173\",\"content_owner_id_new\":\"100000486357673\",\"story_location\":67,\"actrs\":\"100000486357673\"}",
            "recommended": true
        },
        {
            "__typename": "Story",
            "id": "UzpfSTEwMDg0ODA2NjI6MTAyMjA2Mjc1MzQzMzA4MDk6MTAyMjA2Mjc1MzQzMzA4MDk=",
            "post_id": "10220627534330809",
            "creation_time": 1607031214,
            "url": "https://m.facebook.com/story.php?story_fbid=pfbid0EkigK7fwfGVJXTiASBvFddsxkCvV5svEa4VgCpgVWFABn4hTiChb3frqTRiTDatXl&id=1008480662",
            "message": {
                "text": "שניצל להיט!\nמשלוח מהיר, חם וטעים! 😋",
                "entity_ranges": []
            },
            "actors": [
                {
                    "id": "1008480662",
                    "name": "Dor Ben David",
                    "gender": "MALE",
                    "profile_picture": "https://scontent.flhr13-1.fna.fbcdn.net/v/t39.30808-1/467023882_10230036209901818_8712257193747484630_n.jpg?stp=cp0_dst-jpg_e15_q65_s50x50_tt6&_nc_cat=105&ccb=1-7&_nc_sid=e99d92&_nc_ohc=uBAqu2oXxQsQ7kNvgFOFcOf&_nc_ad=z-m&_nc_cid=0&_nc_zt=24&_nc_ht=scontent.flhr13-1.fna&oh=00_AYBV5poGWMEApl34rSmN-fsU01lsI5EIb32rScnNmcxFeg&oe=67776A1C",
                    "is_verified": false,
                    "is_plus_actor": false,
                    "url": "https://m.facebook.com/dorbd123",
                    "__typename": "User"
                }
            ],
            "collaborators": [],
            "attachments": [
                {
                    "title": "",
                    "subtitle": null,
                    "url": "https://www.facebook.com/undefined/",
                    "instagram_user": null,
                    "owner": {}
                },
                {
                    "id": "10220627533450787",
                    "title": "Photos from Dor Ben David's post",
                    "subtitle": null,
                    "url": "https://m.facebook.com/story.php?story_fbid=pfbid0EkigK7fwfGVJXTiASBvFddsxkCvV5svEa4VgCpgVWFABn4hTiChb3frqTRiTDatXl&id=1008480662",
                    "instagram_user": null,
                    "preview_image": "https://scontent.flhr13-1.fna.fbcdn.net/v/t1.6435-9/129016251_10220627533730794_7939239622438559278_n.jpg?stp=cp0_dst-jpg_e15_q65_s960x960_tt6&_nc_cat=106&ccb=1-7&_nc_sid=833d8c&_nc_ohc=dObMvw83O_oQ7kNvgHvaUCJ&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=scontent.flhr13-1.fna&oh=00_AYCyNx-VxNOQbG8Ut3AfIub06bTnvY8sYD2tTu-is84o1w&oe=6798FA5D",
                    "videoUrl": null,
                    "owner": {},
                    "isFactChecked": false
                }
            ],
            "attached_story": null,
            "privacy_scope": "Public",
            "edit_history": 0,
            "is_anonymous": false,
            "explicit_place": null,
            "feedback": {
                "reaction_count": 1,
                "comment_count": 1,
                "sub_comment_count": 0,
                "like_count": 1,
                "share_count": 1,
                "reactions": [
                    {
                        "reaction_count": 1,
                        "id": "1635855486666999"
                    }
                ]
            },
            "translatability_for_viewer": "Hebrew",
            "tracking": "{\"top_level_post_id\":\"10220627534330809\",\"content_owner_id_new\":1008480662,\"story_location\":67,\"story_attachment_style\":\"page_recommendation_v2\",\"ent_attachement_type\":\"PageRecommendationStoryAttachment\",\"actrs\":\"1008480662\"}",
            "recommended": true
        }
    ],
    "cursor": null
}

Page Content Data

Description

This endpoint retrieves content data for a specific Facebook page based on its page ID.

Endpoint

GET api/v1/realtime/social/facebook/v1/pages/{{pageId}}/content-data

Parameters

Param
Required
Param Type
Description

pageId

Yes

Path Param

String | The unique identifier for the Facebook page whose details are to be retrieved.

Example Request
curl -X GET 'https://api.webit.live/api/v1/realtime/social/facebook/v1/pages/8576093908/content-data' \
--header 'Authorization: Basic <credential string>'
Example Response
{
    "data": {
        "page": {
            "id": "8576093908",
            "page_component_based_header": {...},
            "__typename": "Page",
            "strong_id__": "8576093908",
            "pages_surface_tetra_holdout_gk": {
                "passes_gk": true
            },
            "name": "AT&T",
            "cta_click_2_fan_upsell_qe": {
                "show_bottmsheet": true,
                "header_is_like_page": true,
                "header_is_get_updates": false
            },
            "does_viewer_like": false,
            "category_name": "Product/service",
            "page_likers": {
                "count": 6611532
            },
            "friends_who_like": {
                "count": 0,
                "edges": []
            },
            "profile_photo": {
                "id": "878909873599860",
                "src": "https://scontent-dfw5-2.xx.fbcdn.net/v/t39.30808-6/380077639_878909843599863_5457120645354154769_n.jpg?stp=cp0_dst-jpg_e15_q65_s130x130&_nc_cat=1&ccb=1-7&_nc_sid=6ee11a&_nc_ohc=yfvoG2casOAQ7kNvgEnu477&_nc_ad=z-m&_nc_cid=0&_nc_ht=scontent-dfw5-2.xx&oh=00_AYDJPvhi3Jpf8FV5ukKBiLaUj_dcLylKJj4pN4belZzo0g&oe=66D22860"
            },
            "can_viewer_message": true,
            "responsiveness_context": {
                "is_responsive_page": true
            }
        }
    },
    "extensions": {
        "server_metadata": {
            "request_start_time_ms": 1724660718418,
            "time_at_flush_ms": 1724660718654
        },
        "is_final": true
    }
}

Page Transparency

Description

This endpoint retrieves transparency information for a specific Facebook page based on its page ID.

Endpoint

GET api/v1/realtime/social/facebook/v1/pages/{{pageId}}/transparency

Parameters

Param
Required
Param Type
Description

pageId

Yes

Path Param

String | The unique identifier for the Facebook page whose details are to be retrieved.

Example Request
curl -X GET 'https://api.webit.live/api/v1/realtime/social/facebook/v1/pages/8576093908/transparency' \
--header 'Authorization: Basic <credential string>'
Example Response
{
    "data": {
        "native_template_screen": {
            "nt_bundle": {
                "nt_bundle_tree":"...",
                "nt_bundle_attributes": [
                    {
                        "__typename": "NTImageAttribute",
                        "strong_id__": null,
                        "name": "1",
                        "image_value": {
                            "uri": "https://scontent-dfw5-1.xx.fbcdn.net/v/t39.30808-1/380077639_878909843599863_5457120645354154769_n.jpg?stp=cp0_dst-jpg_e15_q65_s120x120&_nc_cat=1&ccb=1-7&_nc_sid=6738e8&_nc_ohc=yfvoG2casOAQ7kNvgGuhcd-&_nc_ad=z-m&_nc_cid=0&_nc_ht=scontent-dfw5-1.xx&oh=00_AYBW-WjR-2yfOVUaUcAwGsVGo-M8_tOqTcOUWFyInaB1UA&oe=66D21D5A",
                            "width": 120,
                            "height": 120
                        }
                    },
                    {
                        "__typename": "NTImageAttribute",
                        "strong_id__": null,
                        "name": "2",
                        "image_value": {
                            "uri": "https://static.xx.fbcdn.net/rsrc.php/v3/yb/r/itd8GzK0H7c.png",
                            "width": 72,
                            "height": 72
                        }
                    },
                    {
                        "__typename": "NTImageAttribute",
                        "strong_id__": null,
                        "name": "3",
                        "image_value": {
                            "uri": "https://static.xx.fbcdn.net/rsrc.php/v3/yI/r/teUBjQqodYV.png",
                            "width": 72,
                            "height": 72
                        }
                    },
                    {
                        "__typename": "NTImageAttribute",
                        "strong_id__": null,
                        "name": "4",
                        "image_value": {
                            "uri": "https://static.xx.fbcdn.net/rsrc.php/v3/yC/r/Wuv6bqgMqzX.png",
                            "width": 72,
                            "height": 72
                        }
                    },
                    {
                        "__typename": "NTImageAttribute",
                        "strong_id__": null,
                        "name": "5",
                        "image_value": {
                            "uri": "https://static.xx.fbcdn.net/rsrc.php/v3/y2/r/IxDVq28t57w.png",
                            "width": 72,
                            "height": 72
                        }
                    }
                ],
                "nt_bundle_state": null,
                "nt_bundle_default_state": null,
                "nt_bundle_referenced_states": [],
                "nt_bundle_client_defined_states": null,
                "nt_follow_up_map": []
            },
            "logging_id": "{\"callsite\":\"{\\\"product\\\":\\\"pages\\\",\\\"feature\\\":\\\"NTPagesTransparencySurfaceController\\\",\\\"integration\\\":\\\"screen\\\",\\\"oncall\\\":\\\"agency_and_control\\\"}\",\"push_phase\":\"C3\",\"version\":1,\"request_id\":\"ApRCM5sixNPHu4czB89-x98\",\"www_revision\":1015964796}",
            "bloks_root_component": null
        }
    },
    "extensions": {
        "server_metadata": {
            "request_start_time_ms": 1724660868616,
            "time_at_flush_ms": 1724660869107
        },
        "is_final": true
    }
}

Page Community Info

Description

This endpoint retrieves community-related information for a specific Facebook page based on its page ID.

Endpoint

GET api/v1/realtime/social/facebook/v1/pages/{{pageId}}/community-info

Parameters

Param
Required
Param Type
Description

pageId

Yes

Path Param

String | The unique identifier for the Facebook page whose details are to be retrieved.

Example Request
curl -X GET 'https://api.webit.live/api/v1/realtime/social/facebook/v1/pages/8576093908/community-info' \
--header 'Authorization: Basic <credential string>'
Example Response
{
    "data": {
        "page": {
            "id": "8576093908",
            "connected_whatsapp_number": null,
            "content_list_view": {
                "default_padding": 8,
                "divider_horizontal_padding": 0,
                "remove_first_card_padding": false,
                "cards": {
                    "page_info": {
                        "start_cursor": null,
                        "end_cursor": "",
                        "has_next_page": false,
                        "has_previous_page": false
                    },
                    "edges": [
                        {
                            "node": {
                                "__typename": "SimplePageContentCard",
                                "strong_id__": "PageContentCardCommunityInviter_8576093908",
                                "cache_id": "PageContentCardCommunityInviter_8576093908",
                                "components": [
                                    {
                                        "__typename": "PageGenericNTContentCardComponent",
                                        "nt_view": {
                                            "unique_id": "qncm431j3v:0",
                                            "logging_id": "{\"callsite\":\"{\\\"product\\\":\\\"pages\\\",\\\"feature\\\":\\\"PageNTContentCardComponentCommunityInviter\\\",\\\"oncall\\\":\\\"pages_consumer_experience_www\\\"}\",\"push_phase\":\"C3\",\"version\":1,\"request_id\":\"AhgUZBHEWj9fyKQQJIwobON\",\"www_revision\":1015964796}",
                                            "data_diff_item_id": "EMPTY:2a4dd3fc06337dd36c34c3ba99adfb31",
                                            "data_diff_content_id": "EMPTY:2a4dd3fc06337dd36c34c3ba99adfb31",
                                            "native_template_bundles": [
                                                {
                                                    "nt_bundle_tree":"...",
                                                    "nt_bundle_attributes": [],
                                                    "nt_bundle_state": null,
                                                    "nt_bundle_default_state": null,
                                                    "nt_bundle_referenced_states": [],
                                                    "nt_bundle_client_defined_states": null,
                                                    "nt_follow_up_map": []
                                                }
                                            ],
                                            "bloks_root_component": null
                                        }
                                    }
                                ],
                                "content_card_type": "COMMUNITY_INVITER"
                            }
                        }
                    ]
                }
            }
        }
    }
}

Page Feed

Description

This endpoint retrieves the feed of a specific Facebook page based on its page ID.

Endpoint

POST api/v1/realtime/social/facebook/v1/pages/{{pageId}}/feed

Parameters

Param
Required
Param Type
Description

pageId

Yes

Path Param

String | The unique identifier for the Facebook page whose details are to be retrieved.

transform

No

Query Param

Bool | A flag indicating whether the response should be transformed or formatted. Default is set to true

start_time

No

Body Param

Number | Unix timestamp (seconds) for start time filter

end_time

No

Body Param

Number | Unix timestamp (seconds) for end time filter

end_cursor

No

Body Param

The cursor to paginate.

Example Request
curl -X POST 'https://api.webit.live/api/v1/realtime/social/facebook/v1/pages/8576093908/feed' \
--header 'Authorization: Basic <credential string>'
Example Response
{
    "data": {
        "node": {
            "__typename": "Page",
            "strong_id__": "8576093908",
            "id": "8576093908",
            "content_list_view": {
                "cards": {
                    "edges": [
                                            {
                            "node": {
                                "__typename": "SimplePageContentCard",
                                "strong_id__": "PageContentCardAbout_8576093908",
                                "cache_id": "PageContentCardAbout_8576093908",
                                "components": [...],
                                "content_card_type": "ABOUT"
                            }
                        }
                    ],
                    "page_info": {...}
                }
            }
        }
    },
    "extensions": {
        "fulfilled_payloads": [
            {
                "label": "cards_stream_connection_page_info",
                "path": [
                    "node",
                    "content_list_view",
                    "cards"
                ]
            }
        ],
        "server_metadata": {
            "request_start_time_ms": 1724661238929,
            "time_at_flush_ms": 1724661239345
        },
        "is_final": true
    }
}

Page Albums

Description

This endpoint retrieves the albums of a specific Facebook page based on its page ID.

Endpoint

POST api/v1/realtime/social/facebook/v1/pages/{{pageId}}/albums

Parameters

Param
Required
Param Type
Description

pageId

Yes

Path Param

String | The unique identifier for the Facebook page whose details are to be retrieved.

end_cursor

No

Body Param

The cursor to paginate.

Example Request
curl -X POST 'https://api.webit.live/api/v1/realtime/social/facebook/v1/pages/8576093908/albums' \
--header 'Authorization: Basic <credential string>'
Example Response
{
    "data": {
        "node": {
            "__typename": "Page",
            "strong_id__": "8576093908",
            "id": "8576093908",
            "albums": {
                "page_info": {
                    "has_next_page": true,
                    "end_cursor": "10155070151798909",
                    "start_cursor": "10158102294078909",
                    "has_previous_page": false
                },
                "nodes": [
                    {
                        "id": "10158102294078909",
                        "media": {...},
                        "photo_items": {...},
                        "owner": {...},
                        "title": {...},
                        "privacy_scope": {...},
                        "media_owner_object": {...},
                        "can_upload": false,
                        "album_type": "NORMAL",
                        "contributors": [...],
                        "album_cover_focused_image": {...},
                        "created_time": 1580926240,
                        "modified_time": 1580940029,
                        "message": {
                            "text": "Join us as we celebrate #BlackHistoryMonth by highlighting influencers with impact, both past and present. Whether historical figures or present-day game-changers making history as we speak, we have these African Americans to thank for evolving entertainment and technology.  #InfluencersOfChange"
                        },
                        "can_viewer_delete": false,
                        "can_edit_caption": false,
                        "feedback": {...}
                    },
                    ...
                ]
            }
        }
    },
    "extensions": {
        "fulfilled_payloads": [...],
        "server_metadata": {
            "request_start_time_ms": 1724661496796,
            "time_at_flush_ms": 1724661500651
        },
        "is_final": true
    }
}

Last updated