Skip to content
Components

LinkedIn Pages

Look up the LinkedIn Pages connector settings for organization IDs, endpoints for page, follower and share statistics or posts, sync dates and load type.

This data source connector downloads data from the LinkedIn Pages API (opens in a new tab) related to organizations, their posts, and statistics about performance of their pages, as well as tables of enumerated types used therein.

Create a new configuration of the LinkedIn Pages connector.

To configure this connector, you need to authenticate with a LinkedIn Profile using OAuth. More info on this topic can be found in LinkedIn API Documentation (opens in a new tab).

  • Organization IDs (organizations) - [OPT] Comma-separated list of organization IDs you wish to fetch data from, e.g., 123, 234. If left empty, data from all organizations will be fetched.
  • Endpoints (endpoints) - [REQ] Select the data you wish to download. Lifetime statistics provide current totals. Time-bound statistics retrieve data about the specified time range with daily granularity. This must be one of these:
  • Download Post Statistics (post_statistics) - [OPT] Only for Posts. Also downloads the statistics of each post into the table post_statistics, as a snapshot dated by the day of the run. Off by default. See Post Statistics below.
  • Sync Options (sync_options) [REQ] - Options pertaining to only time-bound data extraction:
    • Date From (date_from) - [REQ] Date from which data is downloaded. Either date in YYYY-MM-DD format or dateparser string; i.e., 5 days ago, 1 month ago, yesterday, etc. You can also set this as last run, which will fetch data from the last run of the component; if no previous successful run exists, all data since LinkedIn launch (2003-05-05) are downloaded. Values always get rounded down to the beginning of the day.
    • Date To (date_to) - [REQ] Date to which data is downloaded. Either date in YYYY-MM-DD format or dateparser string; i.e., 5 days ago, 1 week ago, now, etc. Values always get rounded down to the beginning of the day.
  • Destination (destination) - [REQ] Options specifying how to save extracted data into Keboola Storage:
    • Load Type (load_type) - [REQ] If full load is used, the destination table will be overwritten every run. If incremental load is used, data will be upserted into the destination table.

Configuration example:

LinkedIn Pages - Global Configuration LinkedIn Pages - Row Configuration

When Download Post Statistics is enabled, the Posts row also downloads the share statistics (opens in a new tab) of each post into the table post_statistics. The table contains these columns:

  • post_urn - the post ID, the same as id in the posts table
  • snapshot_date - the day of the run (UTC)
  • impressionCount - impressions
  • uniqueImpressionsCount - unique impressions (members reached)
  • clickCount, likeCount, commentCount, shareCount - clicks, reactions, comments and reposts
  • engagement - the engagement rate: (clicks + reactions + comments + reposts) / impressions

LinkedIn provides only current totals for each post, not daily values. Each run therefore saves a snapshot of those totals, dated by the day of the run. The primary key is post_urn and snapshot_date. With incremental load, the snapshots build a history, and the daily change for a post is the difference between two consecutive snapshots. Running the row more than once on the same day overwrites that day’s snapshot. The history starts on the day the option is first enabled; earlier days cannot be filled in.

Notes on the values:

  • likeCount, commentCount and shareCount are lifetime totals.
  • impressionCount, uniqueImpressionsCount and clickCount cover a rolling window of roughly the last 12 months. For posts older than that, they count only the recent activity and can decrease between snapshots.
  • The “engagements” count shown in LinkedIn analytics is the sum clickCount + likeCount + commentCount + shareCount.
  • Only organic activity is included; sponsored activity is not counted.
  • Posts without any activity in the 12-month window are not returned.
Ask Kai

Hi, I'm Kai — Keboola's AI assistant for the docs. Ask me anything and I'll answer from the documentation and cite the pages I use.

Kai is an AI and can make mistakes. Check the sources it links.