
LinkedIn Scrape: Profiles, Posts, Messages, Reactions, Comments
Pricing
$20.00/month + usage

LinkedIn Scrape: Profiles, Posts, Messages, Reactions, Comments
Scrape & Collect profiles, companies, posts, messages, reactions, and comments efficiently. Save 84% on costs while getting more functionality. Perfect for researchers, recruiters, sales teams, and marketers. Customizable, automated, and easy to integrate.
5.0 (1)
Pricing
$20.00/month + usage
5
Total users
64
Monthly users
27
Runs succeeded
98%
Issues response
4 days
Last modified
2 months ago
LinkedIn credentials dont work
Closed
Adding my li_at and JSESSIONID values from my chrome logged in session into the JSON
When run says: Sample data provided. To get real data, update input parameters with your LinkedIn credentials.
juliodeandres
Thanks in advance!

Hi Juliodeandres,
The test data happens if you leave the sample data there. (no point using your apify usage time etc for sample data, to it is kept to a quick response.)
See attached screengrab. It shows where to get the cookie values from in the developer tools.
Then past the values into the settings (second screengrab)
Don't forget to change the operations values.
For example, I would enter
In the LinkedIn cookie session cookie (li_at and JSESSIONID) { "li_at": "AQEFAQ0BAAAAABW21NgAAAGWtUp-twAAAZbsrBr8TQAAsHVybjpsaTxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx1cm46bGk6bWVtYmVyOjM1NjI5MDgxK2_XJPUWRIfEft5lFLcHMA631pt-pm8DWJC2eIDYAsUC3z1MuauQLmP6JOSGNx5A-X_hkJFBsM9Sg5KggGcRZC5rH404plpvvP0SRAIYWUVWLiPBdtmN4U4OKjtEGWxd-OFsK_ccCptLB1eACZEzrvM2aet-mhDW3wxPNWkiSX-qwwt5iTVCjPdqu58CW5-5XwGxnw", "JSESSIONID": "ajax:07661876xxxxxxx7165" }
(Replaced some values with xxxx for security, put your own values form a currently logged in working LinkedIn session.)
In the to scrape a LinkedIn profile use: { "operations": [ { "retrieval_type": "LinkedIn_Profile", "url": "https://www.linkedin.com/in/williamhgates/" }, { "retrieval_type": "LinkedIn_Profile", "url": "https://www.linkedin.com/in/satyanadella/" } ] }
Sometimes you will be logged into too many places in LinkedIn. I recommend going to https://www.linkedin.com/mypreferences/d/user-sessions and removing those session you don't need (not the session you copied the cookies from!)
Additionally, I found using residential (or hosting my own proxy on my laptop) the safest approach to avoid being flagged as automation / bot.
Please come back to me if you are still unable to get it to work. (Let's keep this ticket open for a few days)