How to pull contacts from email or facebook for reference email

Does anyone know if it’s possible to pull a users contact list from either their email, facebook, or google when they select an option to send a reference link?

Similar to how linkedin provides all options of people you know based on your email contacts to connect with on their platform.

Sorry if I’m not explaining this clearly. I just really don’t know what to call this functionality.

Thanks,

Anyone?