😎
Templates
LinkedIn
Google Analytics
Google Drive
Google Search
Google Sheets
Hugging Face
Johns Hopkins
Jupyter Notebooks
Metrics Store
Microsoft Teams
Microsoft Word
Naas Auth
Send invitation to profile
Tags: #linkedin #invitation #naas_drivers
Author: Florent Ravenel

Input

Import library

from naas_drivers import linkedin

Get your cookies

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

Enter content and recipient URL

# Optional
CONTENT = "Hello !"
RECIPIENTS_URL = "LINKEDIN_URL"

Model

Connect to Linkedin API

result = linkedin.connect(LI_AT, JSESSIONID)

Output

Send the invitation

result = linkedin.invitation.send(content=CONTENT,
recipient_url=RECIPIENTS_URL)
Copy link
Edit on GitHub
On this page
Input
Model
Output