Post

Post Info

Description

This endpoint retrieves detailed information about a specific LinkedIn post, identified by its unique URN.

Endpoint

GET api/v1/realtime/social/linkedin/v1/post/{{urn}}/info

Parameters

ParamRequiredParam TypeDescription

urn

Yes

Path Param

String | The URN of the post.

Example Request
curl -X GET 'https://api.webit.live/api/v1/realtime/social/linkedin/v1/post/urn:li:activity:7163900181560725504/info' \
--header 'Authorization: Basic <credential string>'
Example Response
{
    "urn": "urn:li:activity:7163900181560725504",
    "author": {
        "type": "Member",
        "first_name": "Strati",
        "last_name": "Georgopoulos",
        "occupation": "Entrepreneur & Executive Search Expert | Specializing in High-Impact Talent Acquisition | Transformative Leadership Consultant",
        "image_url": "https://media.licdn.com/dms/image/v2/C4E03AQEZl6SLjt59EQ/profile-displayphoto-shrink_400_400/profile-displayphoto-shrink_400_400/0/1579638387331?e=1730332800&v=beta&t=CDpj6nTwc3b5ISAGnulvv7QyYWjJnKPctvrbVuJt-uI",
        "background_image": null,
        "public_identifier": "strati-georgopoulos",
        "urn": "urn:li:fsd_profile:ACoAAAQALScBXtRMcf9z_sJvB_AQtaJBiv6CcjI",
        "url": "https://www.linkedin.com/in/strati-georgopoulos"
    },
    "text": "Embracing humility is a powerful tool that can help us learn and grow in both our personal and professional lives. \n\nBy recognizing that everyone we meet has valuable lessons and perspectives to offer, we can unlock a wealth of knowledge and wisdom. \n\nSo, whether you're interacting with a colleague, a customer, or a stranger on the street, remember to approach each interaction with an open mind and a willingness to learn. You never know what valuable insights you might gain. \n\n#humility #personaldevelopment #professionaldevelopment",
    "mentions": [],
    "content": [
        {
            "type": "Image",
            "image": "https://media.licdn.com/dms/image/v2/D4D22AQEFWrh3LLVV1A/feedshare-shrink_2048_1536/feedshare-shrink_2048_1536/0/1708006901274?e=1727308800&v=beta&t=HY6z0rWOR4aLIBN_hQ5WmsjjBT-Rwh6G9GWBWP7jsWI",
            "text": ""
        }
    ],
    "created_at": "2024-03-11T00:00:00.000Z",
    "url": "https://www.linkedin.com/feed/update/urn:li:activity:7163900181560725504/",
    "shares": 1162,
    "comments": 336,
    "likes": 17110,
    "reactions": [
        {
            "reaction_type": "LIKE",
            "count": 15457
        },
        {
            "reaction_type": "EMPATHY",
            "count": 1165
        },
        {
            "reaction_type": "APPRECIATION",
            "count": 335
        },
        {
            "reaction_type": "PRAISE",
            "count": 117
        },
        {
            "reaction_type": "INTEREST",
            "count": 35
        },
        {
            "reaction_type": "ENTERTAINMENT",
            "count": 1
        }
    ]
}

Post Comments

Description

This endpoint retrieves comments on a specific LinkedIn post, identified by its unique URN.

Endpoint

GET api/v1/realtime/social/linkedin/v1/post/{{urn}}/comments

Parameters

ParamRequiredParam TypeDescription

urn

Yes

Path Param

String | The URN of the post.

Example Request
curl -X GET 'https://api.webit.live/api/v1/realtime/social/linkedin/v1/post/urn:li:activity:7163900181560725504/comments' \
--header 'Authorization: Basic <credential string>'
Example Response
{
    "comments": [
        {
            "is_pinned": false,
            "is_edited": false,
            "author": {
                "urn": "urn:li:fsd_profile:ACoAAEvwTyIBJSNY8Szi4lA6UWHjH15v7eb7_1A",
                "first_name": "שגיא",
                "last_name": "אבישר",
                "headline": "--",
                "profile_picture": "https://media.licdn.com/dms/image/v2/D4D03AQFLjj583Ssowg/profile-displayphoto-shrink_100_100/profile-displayphoto-shrink_100_100/0/1708611410312?e=1730332800&v=beta&t=cqjvEhpZbzP6X8j4CXQCcuYMXNnD07UWp2eWUS45PF8",
                "is_post_author": false,
                "profile_url": "https://www.linkedin.com/in/%D7%A9%D7%92%D7%99%D7%90-%D7%90%D7%91%D7%99%D7%A9%D7%A8-88280b2b6"
            },
            "likes": 0,
            "text": "agree",
            "created_time": 1721820324016,
            "sub_comments": 0,
            "comment_urn": "urn:li:fsd_comment:(7221837872297873408,urn:li:activity:7163900181560725504)",
            "thread_urn": "urn:li:comment:(activity:7163900181560725504,7221837872297873408)",
            "url": "https://www.linkedin.com/feed/update/urn:li:activity:7163900181560725504?commentUrn=urn%3Ali%3Acomment%3A%28activity%3A7163900181560725504%2C7221837872297873408%29&dashCommentUrn=urn%3Ali%3Afsd_comment%3A%287221837872297873408%2Curn%3Ali%3Aactivity%3A7163900181560725504%29"
        },
        ...
    ],
    "cursor": "eyJjb3VudCI6MTAwLCJzdGFydCI6MTAwLCJ0b3RhbCI6MzExLCJwYWdpbmF0aW9uVG9rZW4iOm51bGwsIl9xdWVyeUlkIjoiMjVkNWFjMDMtZDIzOS00ZmRlLTlmYTQtMjM1ZDI0MjI1NGVhIn0="
}

Post Reactions

Description

This endpoint retrieves the reactions (likes, applauses, etc.) on a specific LinkedIn post, identified by its unique URN.

Endpoint

GET api/v1/realtime/social/linkedin/v1/post/{{urn}}/reactions

Parameters

ParamRequiredParam TypeDescription

urn

Yes

Path Param

String | The URN of the post.

Example Request
curl -X GET 'https://api.webit.live/api/v1/realtime/social/linkedin/v1/post/urn:li:activity:7163900181560725504/reactions' \
--header 'Authorization: Basic <credential string>'
Example Response
{
    "reactions_count": 17110,
    "reactions": [
        {
            "author": {
                "type": "Member",
                "name": "Lisa Marie Mazza",
                "urn": "urn:li:fsd_profile:ACoAAC3AfNkBEVlGFr3Tbfr2iIGMXoPLuqre5QA",
                "profile_picture": "https://media.licdn.com/dms/image/v2/C4D03AQGpkX-i799AMA/profile-displayphoto-shrink_800_800/profile-displayphoto-shrink_800_800/0/1622596944622?e=1730332800&v=beta&t=ptset3iQ7m1jlcHioHOCRfkSCtaxR7HMa0fYT0o7ze4",
                "profile_url": "https://www.linkedin.com/in/ACoAAC3AfNkBEVlGFr3Tbfr2iIGMXoPLuqre5QA"
            },
            "reaction_type": "LIKE"
        },
        ...
    ],
    "cursor": "eyJjb3VudCI6MTAwLCJzdGFydCI6MTAwLCJ0b3RhbCI6MTcxMTAsInBhZ2luYXRpb25Ub2tlbiI6bnVsbCwiX3F1ZXJ5SWQiOiJiMzlhMmQ4Mi1iMDVkLTQ2MDAtYjFmNS1iY2Y1ZDEzOGJjNGEifQ=="
}

Post Shares

Description

This endpoint retrieves information about how many times a specific LinkedIn post has been shared, identified by its unique URN.

Endpoint

GET api/v1/realtime/social/linkedin/v1/post/{{urn}}/comments

Parameters

ParamRequiredParam TypeDescription

urn

Yes

Path Param

String | The URN of the post.

Example Request
curl -X GET 'https://api.webit.live/api/v1/realtime/social/linkedin/v1/post/urn:li:activity:7163900181560725504/shares' \
--header 'Authorization: Basic <credential string>'
Example Response
{
    "shares": [
         {
            "author": {
                "type": "Member",
                "urn": "urn:li:fsd_profile:ACoAAAnv02QBmgfj7HQ9J0znNz_ycZcJ5UEu6WA",
                "first_name": "Robert Baron",
                "last_name": "Jones",
                "occupation": "Licensed Real Estate Professional at Chas Everitt International Property Group-Transformation Coach",
                "image_url": "https://media.licdn.com/dms/image/v2/C4D03AQEhEgR7DNopmw/profile-displayphoto-shrink_800_800/profile-displayphoto-shrink_800_800/0/1633452986026?e=1730332800&v=beta&t=fwEWP-1mtvMAMDGbl34g1OL1IpaO8QyPsff-8ehHC9c",
                "url": "https://www.linkedin.com/in/robert-baron-jones-b449b847",
                "public_identifier": "robert-baron-jones-b449b847"
            },
            "comments": 0,
            "likes": 4,
            "reactions": [
                {
                    "reaction_type": "LIKE",
                    "count": 3
                },
                {
                    "reaction_type": "EMPATHY",
                    "count": 1
                }
            ],
            "shares": 1,
            "text": "True power in humility.",
            "url": "https://www.linkedin.com/feed/update/urn:li:activity:7176061573105344513"
        },
        ...
    ],
    "cursor": "eyJjb3VudCI6MTAwLCJzdGFydCI6MTAwLCJ0b3RhbCI6NjgwLCJwYWdpbmF0aW9uVG9rZW4iOiIzNzE2MjM5MTEtMTcyNDY4Mzk1MTg5NS0yMTc4Y2UxYjQ0NjA4NDRlZGMzMWQ4ZTY5YjA5MGFlYiIsIl9xdWVyeUlkIjoiMzBiZWJlZDQtYzY4YS00NjhhLWFlOWItMDg5YWZiNjNkY2Y2In0="
}

Last updated