Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add time of connection #61

Closed
yashvoladoddi37 opened this issue Jan 8, 2025 · 16 comments
Closed

Add time of connection #61

yashvoladoddi37 opened this issue Jan 8, 2025 · 16 comments

Comments

@yashvoladoddi37
Copy link

so i successfully scraped over 50-60 profiles (with extra_profile_data=True) on linkedin couple days ago. yesterday morning i got a notification that does not allow me to login without verifying my identity. now the problem is i need to use a newly created fake account in order to test if my linkedin outreach pipeline works so in order to do that im wondering what I gotta do to remain undetected. any ideas?

@cullenwatson
Copy link
Owner

cullenwatson commented Jan 8, 2025

what do they need to verify the identity? id say just put a time.sleep() of 5 seconds in between each profile scrape. or even longer if you're fine with it being slower. another idea is try to get the linkedin premium free trial and see if that helps

@yashvoladoddi37
Copy link
Author

what do they need to verify the identity? id say just put a time.sleep() of 5 seconds in between each profile scrape. or even longer if you're fine with it being slower. another idea is try to get the linkedin premium free trial and see if that helps

I ain't got a credit card😭 so that's not an option at all. I'll put a time sleep and see what happens.

Also, any ideas on whether voyager api has endpoints to send retrieve and manage messages? I found paid solutions that do this but no information about voyager endpoints.

In order to send messages using openai api post connection, I'll have to use their voyager endpoints itself. I can't think of any other way.

Any ideas? This project has serious potential if this works well. Could streamline lead generation altogether.

@yashvoladoddi37
Copy link
Author

yashvoladoddi37 commented Jan 8, 2025

nsandman/linkedin-api@1a7e85c is this something that would help? maybe I could integrate this into the current codebase...thoughts?

image

image

@cullenwatson
Copy link
Owner

yea it's easy, you want to send message to connections?

@yashvoladoddi37
Copy link
Author

yeah that would be great. idk how to integrate it here though. stuck. ideas?

@cullenwatson
Copy link
Owner

can you give a mock function how you would like the code to work? e.g.

something like this or different?
send_message(user_id, message_text)

@yashvoladoddi37
Copy link
Author

yashvoladoddi37 commented Jan 9, 2025

ideally, everyday the bot should check for newly accepted connections and initiate a message with them. post initiating the message it should also be able to receive the response (if response is detected). or, if no response detected after 24 hours, you generate a message again. is this possible? lmk bro. i just need to know if this is possible without paying for paid apis.

@yashvoladoddi37
Copy link
Author

yashvoladoddi37 commented Jan 10, 2025

wrote this small code(check drive) for sending messages, through https://linkedin-api.readthedocs.io/en/latest/api.html#linkedin_api.Linkedin.send_message

is there a way to integrate this into the current codebase, in such a way that the bot sends messages only to newly accepted connections? im tryna think of a way.

https://drive.google.com/drive/folders/1zW6NbGf5hdA6Ylj_D96T-LL4CWjxh9gc?usp=sharing

@cullenwatson
Copy link
Owner

@yashvoladoddi37
Copy link
Author

yashvoladoddi37 commented Jan 15, 2025

@cullenwatson @2btechdev2 @GrimsGreen hi i think linkedin has changed their api response format, im not able to run scrape_staff() function successfully anymore. thoughts?

@cullenwatson
Copy link
Owner

ah damn lemme check

@cullenwatson
Copy link
Owner

it's working
image

@yashvoladoddi37
Copy link
Author

yashvoladoddi37 commented Jan 15, 2025 via email

@yashvoladoddi37
Copy link
Author

hey yo, any way to fetch recently added connections? idk what data https://linkedin-api.readthedocs.io/en/latest/api.html#linkedin_api.Linkedin.get_profile_connections returns. i want to fetch recently added connections daily to check whether the profiles I scraped and sent connection requests to, have accepted my request or not, so I can initialise messages with them to proceed with lead generation through sending personalised messages based on their profile data

@cullenwatson
Copy link
Owner

cullenwatson commented Jan 16, 2025

it tells us since when you have been connected if you want that data

@yashvoladoddi37
Copy link
Author

it tells us since when you have been connected if you want that data

Ig that works yeah

@cullenwatson cullenwatson changed the title linkedin detected scraping and asked me to verify my account Add time of connection Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants