Pull API \ Retrieve a LinkedIn post

Resource/URI GET
Facebook · Retrieve a user's likes /pull/identities/<identity_token>/facebook/likes.json Retrieve Likes
Facebook · Retrieve a user's posts /pull/identities/<identity_token>/facebook/posts.json Retrieve Posts
Facebook · Retrieve a user's groups /pull/identities/<identity_token>/facebook/groups.json Retrieve Groups
Facebook · Retrieve a user's group posts /pull/identities/<identity_token>/facebook/group/<pageid>/posts.json Retrieve Group Posts
Facebook · Retrieve a user's pages /pull/identities/<identity_token>/facebook/pages.json Retrieve Pages
Facebook · Retrieve a user's page posts /pull/identities/<identity_token>/facebook/page/<pageid>/posts.json Retrieve Page Posts
Facebook · Retrieve a user's page post reactions /pull/identities/<identity_token>/facebook/page/<pageid>/posts.json Retrieve Page Post Reactions
LinkedIn · Retrieve a user's posts /pull/identities/<identity_token>/linkedin/user/posts.json Retrieve User Posts
LinkedIn · Retrieve a user's companies /pull/identities/<identity_token>/linkedin/companies.json Retrieve Companies
LinkedIn · Retrieve a user's company posts /pull/identities/<identity_token>/linkedin/company/<companyid>/posts.json Retrieve Company Posts
LinkedIn · Retrieve a post /pull/identities/<identity_token>/linkedin/post.json Retrieve Post
LinkedIn · Retrieve post comments /pull/identities/<identity_token>/linkedin/post/comments.json Retrieve Post Comments
Pinterest · Retrieve a user's boards /pull/identities/<identity_token>/pinterest/boards.json Retrieve Boards
Pinterest · Retrieve a user's board pins /pull/identities/<identity_token>/pinterest/board/<boardid>/pins.json Retrieve Board Pins
Steam · Retrieve a user's games /pull/identities/<identity_token>/steam/games.json Retrieve Games
TikTok · Retrieve videos information /pull/identities/<identity_token>/tiktok/videos.json Retrieve Videos
Twitch · Retrieve all broadcaster's subscriptions /pull/identities/<identity_token>/twitch/broadcaster/subscriptions.json Retrieve Broadcaster's subscriptions
Twitch · Retrieve channels information /pull/identities/<identity_token>/twitch/channels.json Retrieve Channels
Twitch · Retrieve clips information /pull/identities/<identity_token>/twitch/clips.json Retrieve Clips
Twitch · Retrieve games information /pull/identities/<identity_token>/twitch/games.json Retrieve Games
Twitch · Retrieve most viewed games /pull/identities/<identity_token>/twitch/games/top.json Retrieve Top Games
Twitch · Retrieve live streams /pull/identities/<identity_token>/twitch/streams.json Retrieve Streams
Twitch · Retrieve users information /pull/identities/<identity_token>/twitch/users.json Retrieve Users
Twitch · Retrieve follow relationships between two users /pull/identities/<identity_token>/twitch/users/follow.json Retrieve Users Follows
Twitch · Retrieve videos information /pull/identities/<identity_token>/twitch/videos.json Retrieve Videos
Twitter · Retrieve a user's followers /pull/identities/<identity_token>/twitter/followers.json Retrieve Followers
Twitter · Retrieve a user's followings /pull/identities/<identity_token>/twitter/followings.json Retrieve Followings
Twitter · Retrieve a user's tweets /pull/identities/<identity_token>/twitter/tweets.json Retrieve Tweets
Twitter · Retrieve a user /pull/identities/<identity_token>/twitter/user.json Retrieve User
YouTube · Retrieve a user's channels /pull/identities/<identity_token>/youtube/channels.json Retrieve Channels
YouTube · Retrieve a user's playlists /pull/identities/<identity_token>/youtube/playlists.json Retrieve Playlists
YouTube · Retrieve a user's playlist videos /pull/identities/<identity_token>/youtube/playlist/<playlistid>/videos.json Retrieve Playlist Videos
YouTube · Retrieve a user's channel sections /pull/identities/<identity_token>/youtube/channel/sections.json Retrieve Channel Sections

Workflow

Request: the code to send to the API

Send an API request to this endpoint to retrieve a post on LinkedIn:

GET /pull/identities/<identity_token>/linkedin/post.json?urn=<urn>

The <identity_token> is obtained whenever one of your users connects using LinkedIn.

The following URL parameter must be included when calling this endpoint:

URL Parameter Description
* urn
string
LinkedIn URN identifier of the post (ugcPostUrn or shareUrn).
Example: urn:li:ugcPost:123456789123456789

In order to use this endpoint the permission Manage Company Pages (rw_organization_admin) must be enabled in the LinkedIn settings in your OneAll account and the user must have granted that permission when he logged in with LinkedIn. You can publish content for a company using our Push API.

Result: the code returned by the API

Response Example

{
  "response": {
    "request": {
      "date": "Tue, 07 Aug 2018 15:49:30  0200",
      "resource": "/pull/identities/2faf197d-1919-4bc1-845f-eee1624a4c43/linkedin/post.json",
      "status": {
        "flag": "success",
        "code": 200,
        "info": "Your request has been processed successfully"
      }
    },
    "result": {
      "data": {
        "count": 1,
        "entries": [
          {
          "id": "6774848727733254144",
          "author": "urn:li:organization:254551618",
          "created_actor": "urn:li:person:1abc_lrTyyq",
          "created_time": "Wed, 28 Mar 2020 21:10:45 +0000",
          "lastmodified_actor": "urn:li:csUser:1",
          "lastmodified_time": "Fri, 30 Mar 2020 17:09:27 +0000",
          "category": "VIDEO",
          "commentary_text": "Hello",
          "total_comments": 5,
          "num_comments_first_level": 2,          
          "total_reactions": 1,
          "reactions": {
              "LIKE": 0,
              "PRAISE": 0,
              "MAYBE": 0,
              "EMPATHY": 1,
              "INTEREST": 0,
              "APPRECIATION": 0
          },
          "medias": [
              {
                  "id": "urn:li:digitalmediaAsset:ABC15AQEOrh7G6oL5Xg",
                  "title": "My video",
                  "elements": [
                      {
                          "url": "https://dms.licdn.com/playlist/ABC15AQEOrh7G6oL5Xg/hls-720p-30fp-crf28/0/1615471144108?e=161511561651&v=beta&t=IShOIiD7JxUY6QuCxwXh592hpeGtT2xlXcsjZfrf5TE",
                          "type": "application/vnd.apple.mpegURL"
                      },
                      {
                          "url": "https://dms.licdn.com/playlist/ABC15AQEOrh7G6oL5Xg/hls-640p-30fp-crf28/0/1615471143458?e=161511561651&v=beta&t=R3cHAHU6q3XQ5qrpBDajBmDjkNq-5DL5HWmeocOAFnk",
                          "type": "application/vnd.apple.mpegURL"
                      },
                      {
                          "url": "https://dms.licdn.com/playlist/ABC15AQEOrh7G6oL5Xg/video-transcript/0/1615471224365?e=161511561651&v=beta&t=ZB9-EUlimbpqzvOtXcBM1ZjRTRO3qN682Q1sJmdHdSw",
                          "type": "application/octet-stream"
                      },
                      {
                          "url": "https://dms.licdn.com/playlist/ABC15AQEOrh7G6oL5Xg/mp4-640p-30fp-crf28/0/1615471145275?e=161511561651&v=beta&t=qbTjU8sMKs_1r1P5afev8LwZ1ZombEEpKHZWif0dktM",
                          "type": "video/mp4"
                      },
                      {
                          "url": "https://dms.licdn.com/playlist/ABC15AQEOrh7G6oL5Xg/mp4-720p-30fp-crf28/0/1615471144118?e=161511561651&v=beta&t=zt6lk0xMsnQlVl8cznqm4vj9cwUr6pAkfai12cCkKiw",
                          "type": "video/mp4"
                      }
                  ]
              }
          ]

          }
        ]
      }
    }
  }
}

User Contributed Notes