😎
Templates
Google Analytics
Google Drive
Google Search
Google Sheets
Hugging Face
Johns Hopkins
Jupyter Notebooks
Metrics Store
Microsoft Teams
Microsoft Word
Naas Auth
Get conversations
Tags: #linkedin #message #getconversations #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!

Model

1
df = linkedin.connect(LI_AT, JSESSIONID).message.get_conversations()
Copied!
Get the information return in a dataframe. Available columns :
  • CONVERSATION_URN
  • PARTICIPANTS : Urn of the participants
  • LAST_ACTIVITY
  • IS_GROUP_CHAT
  • GROUP_CHAT_NAME
  • FOLLOWER_COUNT
  • IS_PRIVATE_CHAT
  • PROFILE_URN
  • PROFILE_ID
  • FIRSTNAME
  • LASTNAME
  • OCCUPATION
  • MESSAGE_URN
  • SENDER_URN
  • CREATED_AT
  • MESSAGE_BODY

Output

Display result

1
df
Copied!
Copy link
Edit on GitHub