linkedin-private-api
linkedin-private-api copied to clipboard
get contact details of profile
is it possible to get the contact details if the profile provides them? I noticed getProfile doesn't include the users contact details (email, website, etc)
So I explored this request, it's quite straightforward to implement.
We will need to add an extra method within profile.repository.ts
:
getContactInfo({ publicIndentifier }): ({ publicIdentifier }: { publicIdentifier: string })
The method will request the following URL: identity/profiles/<publicIdentifier>/profileContactInfo
where publicIdentifier
is the parameter.
@PMLS3 What do you think? Do you want to contribute to this one? I'm here to walk you through of course.
@eilonmore Ill be happy to help!
Is this feature added? can we fetch contact details?
@ItzmeSwapy I'm currently training a new maintainer that will take this soon.
Okay 👌
@eilonmore but you are sure that we can access anyone's email using this?