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

ParamRequiredParam TypeDescription

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. Pass true to apply transformations, or false to get the raw response.

Example Request
curl -X GET 'https://api.webit.live/api/v1/realtime/social/facebook/v1/pages/8576093908/details?transform=true' \
--header 'Authorization: Basic <credential string>'
Example Response
{
    "results": {
        "id": "8576093908",
        "url": "https://facebook.com/8576093908",
        "name": "AT&T",
        "description": {
            "text": "We’re all about an open discussion, but there are some things the community just doesn’t want on the page, so please follow the AT&T Facebook page house rules:\n\nWe respect the interest of AT&T fans in expressing themselves openly and honestly across AT&T’s presence on social media. As a host, we have the responsibility to keep the conversation fair and civil. We will, in our discretion, remove content that: \n1. is sexual, harassing, or offensive in nature; \n2. uses profanity or abusive language; \n3. violates any law or regulation; \n4. is spam, advertisements or posts that are off-topic \n5. infringes any intellectual property rights of any person; \n6. is a solicitation for any political cause, or religious, charitable, or membership organization; \n7. is false or misleading in any manner; \n8. is posted anonymously or using a pseudonym; \n9. is not in compliance with the applicable site’s terms of use/service.\n\nPlease keep in mind that AT&T does not represent nor endorse any unapproved opinions expressed on any AT&T-sponsored site and that any content uploaded by anyone other than AT&T is the responsibility of the submitter. Employees of AT&T are subject to the Code of Business Conduct, the Social Media Standards and Procedures, and all other AT&T policies governing their use of external web sites. \nAT&T will, in its discretion, remove content which violates these Community Guidelines. \n\nAT&T Privacy Policy: https://about.att.com/csr/home/privacy.html\n\nIf you need Spanish support follow us at @ATTAyuda",
            "delight_ranges": [],
            "image_ranges": [],
            "inline_style_ranges": [],
            "aggregated_ranges": [],
            "ranges": [
                {
                    "entity": {
                        "__typename": "ExternalUrl",
                        "__isEntity": "ExternalUrl",
                        "url": "https://l.facebook.com/l.php?u=https%3A%2F%2Fabout.att.com%2Fcsr%2Fhome%2Fprivacy.html&h=AT3GSoTXBcsEerv3AHdpKWNY6uDlWmJHlyiMGb2fWteMS6SRY2s8ZMkvuSItWOtQYtHLDg_HGneC-_FuX1Y68ueZa-IeBiLD-YlgiohWooB9TnBH2RIZu3rr89GHpunzR62XGwFt6mSxiCzdDaa7YDH8bA&s=1",
                        "external_url": "https://about.att.com/csr/home/privacy.html",
                        "__isWebLinkable": "ExternalUrl",
                        "web_link": {
                            "__typename": "ExternalWebLink",
                            "url": "https://about.att.com/csr/home/privacy.html",
                            "fbclid": null,
                            "lynx_mode": "ASYNCLAZY"
                        },
                        "mobileUrl": "https://lm.facebook.com/l.php?u=https%3A%2F%2Fabout.att.com%2Fcsr%2Fhome%2Fprivacy.html&h=AT1ZgamMurWw7rpyqhB-VyR0kpMA-a3BPiS-8bEUTuC-50wIJ4WUQ3mph_uuS31BxiYcqmDD05wgn27uQN0Po85eLSxWfM5kg48AVhafGzUh4Ml36Fx6meNPxgiLhaLZvdJwxtj7Nz_U5SoR8Ohg2H3fuA&s=1",
                        "__isNode": "ExternalUrl",
                        "id": "NjQyMTgzOTU5MjA4MTA3Omh0dHBzXGEvL2Fib3V0LmF0dC5jb20vY3NyL2hvbWUvcHJpdmFjeS5odG1sOjo6Og=="
                    },
                    "entity_is_weak_reference": false,
                    "length": 43,
                    "offset": 1428
                }
            ],
            "color_ranges": []
        },
        "side_text": "Our mission is keeping you connected to the things you love. Our passion is making a difference. We stay connected together. If you need Spanish support follow us at @ATTAyuda https://www.facebook.com/ATTAyudaEstadosUnidos",
        "website": "http://att.com/",
        "phone": "(800) 331-0500",
        "likes": 6611535,
        "followers": 6512786,
        "whatsapp": null,
        "categories": [
            {
                "text": "Product/service",
                "url": "https://www.facebook.com/pages/category/product-service/"
            }
        ],
        "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

ParamRequiredParam TypeDescription

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 Extra Data

Description

This endpoint retrieves additional or supplementary data for a specific Facebook page based on its page ID

Endpoint

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

Parameters

ParamRequiredParam TypeDescription

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/extra-data' \
--header 'Authorization: Basic <credential string>'
Example Response
{
    "data": {
        "page": {
            "id": "8576093908",
            "page_component_based_header": {...},
            "pages_pharma_pages_holdout": {
                "passes_gk": false
            },
            "currently_live_video": null,
            "viewer_profile_permissions": [],
            "category_id": "2201",
            "name": "AT&T",
            "redirection_info": [],
            "page_nav_bar": {...},
            "is_currently_live": false
        }
    },
    "extensions": {
        "server_metadata": {
            "request_start_time_ms": 1724660531896,
            "time_at_flush_ms": 1724660532123
        },
        "is_final": true
    }
}

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

ParamRequiredParam TypeDescription

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

ParamRequiredParam TypeDescription

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

ParamRequiredParam TypeDescription

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

ParamRequiredParam TypeDescription

pageId

Yes

Path Param

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

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

ParamRequiredParam TypeDescription

pageId

Yes

Path Param

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

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