Links

Get guests from event

Tags: #linkedin #event #guests #naas_drivers #content #snippet #dataframe
Author: Florent Ravenel
Last update: 2023-05-29 (Created: 2021-06-17)
Description: This notebook provides a guide to using LinkedIn to connect with attendees of an event.
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.

Input

Import libraries

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 event URL

EVENT_URL = "https://www.linkedin.com/events/6762355783188525056/"

Model

Note : works only if you are in the attendees list
Get the information returned in a dataframe. Available columns :
  • FULLNAME
  • PROFILE_ID
  • PROFILE_URL
  • PUBLIC_ID
  • OCCUPATION
  • LOCATION
  • DISTANCE
df = linkedin.connect(LI_AT, JSESSIONID).event.get_guests(EVENT_URL)

Output

Display result

df