requestor2000
Newbie
- Jul 13, 2024
- 1
- 0
Hey all, I'm trying to write a program which needs to know when a user's LinkedIn account receives a notification from LinkedIn, in order to trigger a certain code flow. Knowing when a notification is received is proving to be a difficult task...
What I have tried so far:
- Polling the LinkedIn notifications page (https://www.linkedin.com/notifications/?filter=all) with a Selenium script - this worked for a while but it is really hard to avoid getting captcha'd, I would rather avoid that.
- Turn on email notifications in the settings - this only works partially as LinkedIn decides which notifications are "important" and only sends you those. Like a "catch up email". I want to know of all notifications and handle them as soon as they arrive so this was not a good solution.
- Using the official LinkedIn extension - so this seems to work, I get a little red pop up thing when a notification comes in, but 1. I could not find a way to use it programatically (e.g. have my custom Chrome extension listen to the official LinkedIn extension and take action once the red pop up appears), and 2. The official extension only tells you WHEN a notification is received but it does not tell you what the content is, so I still have to go to https://www.linkedin.com/notifications/?filter=all and extract the notification which I'm afraid will eventually result in Captcha for the user as well. 3. The user would have to install both the official LinkedIn notification and my extension.
I prefer the listener to be running on the client side so I can make it into a Chrome extension, but server-side solutions could work as well.
Any ideas for any other possible solutions?
Thanks!
What I have tried so far:
- Polling the LinkedIn notifications page (https://www.linkedin.com/notifications/?filter=all) with a Selenium script - this worked for a while but it is really hard to avoid getting captcha'd, I would rather avoid that.
- Turn on email notifications in the settings - this only works partially as LinkedIn decides which notifications are "important" and only sends you those. Like a "catch up email". I want to know of all notifications and handle them as soon as they arrive so this was not a good solution.
- Using the official LinkedIn extension - so this seems to work, I get a little red pop up thing when a notification comes in, but 1. I could not find a way to use it programatically (e.g. have my custom Chrome extension listen to the official LinkedIn extension and take action once the red pop up appears), and 2. The official extension only tells you WHEN a notification is received but it does not tell you what the content is, so I still have to go to https://www.linkedin.com/notifications/?filter=all and extract the notification which I'm afraid will eventually result in Captcha for the user as well. 3. The user would have to install both the official LinkedIn notification and my extension.
I prefer the listener to be running on the client side so I can make it into a Chrome extension, but server-side solutions could work as well.
Any ideas for any other possible solutions?
Thanks!
Last edited: