😎
Templates
Google Analytics
Google Drive
Google Search
Google Sheets
Hugging Face
Johns Hopkins
Jupyter Notebooks
Metrics Store
Microsoft Teams
Microsoft Word
Naas Auth
Get posts stats from profile
Tags: #linkedin #profile #post #stats #naas_drivers
Author: Florent Ravenel

Input

Import library

1
from naas_drivers import linkedin
Copied!

Get your cookies

1
LI_AT = 'YOUR_COOKIE_LI_AT' # EXAMPLE AQFAzQN_PLPR4wAAAXc-FCKmgiMit5FLdY1af3-2
2
JSESSIONID = 'YOUR_COOKIE_JSESSIONID' # EXAMPLE ajax:8379907400220387585
Copied!

Enter profile URL

1
PROFILE_URL = "PROFILE_URL"
Copied!

Model

Get posts stats from profile

Note that publication date will not be correct for this function
1
df = linkedin.connect(LI_AT, JSESSIONID).profile.get_posts_feed(PROFILE_URL, count=100, limit=-1)
Copied!

Output

Display result

1
df
Copied!
Copy link
Edit on GitHub