If you would like to get a list of Profile URLs from your LinkedIn Messages, you can run this script to get a CSV file with a list of the URLs.
Then you can take that list of profile URLs and use something like Phantombuster to create a campaign where you can send automated messages to your list, which would include their name and company.
Go to LinkedIn and view your Profile.
Copy the URL.
This will remove your Profile URL from the sorted output list.
To export your messages data from LinkedIn, follow these steps:
- Click the "Me" icon at the top of your LinkedIn homepage.
- Select "Settings & Privacy" from the dropdown menu.
- Click on "Data privacy" in the left sidebar.
- Under "How LinkedIn uses your data", click "Get a copy of your data". Select "Want something in particular? Select the data files you're most interested in."
- Check the box next to "Messages" to include your message history in the export.
- Click "Request archive".
- Enter your LinkedIn password when prompted and click "Done".
- LinkedIn will then process your request. You'll receive an email notification with a link to download your data archive within 24 hours.
- Click the link in the email to download a ZIP file containing your LinkedIn messages and any other data you selected to your Downloads folder.
- The downloaded ZIP file will contain a CSV file with your LinkedIn messages, including the message content, sender, recipient, and timestamp information.
Note that you can only export messages from connections who have allowed their email addresses to be visible to connections.
Execute the bash script that:
- Creates the virtual env.
- Installs requirements.
- Runs sorted-urlList.py
- Deactivates the virtual env.
- The script will prompt you for your LinkedIn username.
- Recommended to use default (just hit Enter) for Source Path and Output Path. It will smartly search your Downloads folder for messages.csv and save linkedin_urls.csv to your Downloads folder.
./run.sh