Comment on page
Get invitations received
Tags: #linkedin #content #operations #snippet #invitation #dataframe
Last update: 2023-05-29 (Created: 2022-04-05)
Description: This notebook provides an overview of invitations received on LinkedIn.
Disclaimer:
This code is in no way affiliated with, authorized, maintained, sponsored or endorsed by Linkedin or any of its affiliates or subsidiaries. It uses an independent and unofficial API. Use at your own risk.
This project violates Linkedin's User Agreement Section 8.2, and because of this, Linkedin may (and will) temporarily or permanently ban your account. We are not responsible for your account being banned.
from naas_drivers import linkedin
import pandas as pd
# Lindekin cookies
LI_AT = "AQEDARCNSioDe6wmAAABfqF-HR4AAAF-xYqhHlYAtSu7EZZEpFer0UZF-GLuz2DNSz4asOOyCRxPGFjenv37irMObYYgxxxxxxx"
JSESSIONID = "ajax:12XXXXXXXXXXXXXXXXX"
Get the information returned in a dataframe.
Available columns :
- PROFILE_ID : Sender LinkedIn unique profile id
- PROFILE_URL : Sender LinkedIn profile URL
- PUBLIC_ID : Sender LinkedIn public profile id
- FIRSTNAME : Sender first name
- LASTNAME : Sender last name
- FULLNAME : Sender first and last name
- OCCUPATION : Sender occupation
- PROFILE_PICTURE : Sender profile picture
- MESSAGE : Message sent with the invitation
- SENT_AT : Date time the invitation was sent at (Only for "Profile" invitation)
- UNSEEN : Boolean to know if the invitation have already been seen (Boolean: True or False)
- INVITATION_TYPE : Type of invitation. It could be "Profile", "Company", "Event", "Newsletter"
- INVITATION_DESC : Detailed type of invitation.
- INVITATION_STATUS : Status of the invitation ("PENDING" for invitation from Profile)
- INVITATION_ID : Secret to be used to accept or ignore invitation
- SHARED_SECRET : Secret to be used to accept or ignore invitation
df_invitation = linkedin.connect(LI_AT, JSESSIONID).invitation.get_received()
df_invitation
Last modified 3mo ago