linkedin-private-api icon indicating copy to clipboard operation
linkedin-private-api copied to clipboard

get contact details of profile

Open PMLS3 opened this issue 3 years ago • 6 comments

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)

PMLS3 avatar Jul 11 '21 13:07 PMLS3

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 avatar Aug 06 '21 21:08 eilonmore

@eilonmore Ill be happy to help!

PMLS3 avatar Aug 07 '21 07:08 PMLS3

Is this feature added? can we fetch contact details?

ItzmeSwapy avatar Oct 17 '21 08:10 ItzmeSwapy

@ItzmeSwapy I'm currently training a new maintainer that will take this soon.

eilonmore avatar Oct 17 '21 11:10 eilonmore

Okay 👌

ItzmeSwapy avatar Oct 17 '21 11:10 ItzmeSwapy

@eilonmore but you are sure that we can access anyone's email using this?

ItzmeSwapy avatar Oct 17 '21 11:10 ItzmeSwapy