
Get Linkedin URL posts from profile/company
Pricing
$25.00/month + usage

Get Linkedin URL posts from profile/company
Generate a list of posts url from a target profile or company. Extract posts at scale within a date range or a number of days since posting
1.0 (2)
Pricing
$25.00/month + usage
10
Total users
235
Monthly users
29
Runs succeeded
49%
Last modified
15 days ago
You can access the Get Linkedin URL posts from profile/company programmatically from your own applications by using the Apify API. You can also choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.
1import { ApifyClient } from 'apify-client';2
3// Initialize the ApifyClient with your Apify API token4// Replace the '<YOUR_API_TOKEN>' with your token5const client = new ApifyClient({6 token: '<YOUR_API_TOKEN>',7});8
9// Prepare Actor input10const input = {11 "url": "https://www.linkedin.com/in/christianlim/",12 "days_since_post": 14,13 "cookies": [14 {15 "domain": ".linkedin.com",16 "expirationDate": 1742798742.32278,17 "hostOnly": false,18 "httpOnly": false,19 "name": "test",20 "path": "/",21 "sameSite": "no_restriction",22 "secure": true,23 "session": false,24 "storeId": "0",25 "value": "To be changed. Check readme on how to extract cookie session from browser",26 "id": 127 }28 ],29 "proxyConfiguration": {30 "useApifyProxy": false31 }32};33
34// Run the Actor and wait for it to finish35const run = await client.actor("saswave/get-linkedin-url-posts-from-profile-company").call(input);36
37// Fetch and print Actor results from the run's dataset (if any)38console.log('Results from dataset');39console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);40const { items } = await client.dataset(run.defaultDatasetId).listItems();41items.forEach((item) => {42 console.dir(item);43});44
45// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs
Get Linkedin URL posts from profile/company API in JavaScript
The Apify API client for JavaScript is the official library that allows you to use Get Linkedin URL posts from profile/company API in JavaScript or TypeScript, providing convenience functions and automatic retries on errors.
Install the apify-client
$npm install apify-client
Other API clients include: