xing-api-samples icon indicating copy to clipboard operation
xing-api-samples copied to clipboard

Is it possible to get email addresses of my contacts through any contact APIs, or through any APIs?

Open vmnikhil opened this issue 9 years ago • 6 comments

Is it possible to get email addresses of my contacts through any contact APIs, or through any APIs?

I am trying to fetch all my contact details.But always my contact email fields,(active_email,email etc..)are coming null.

vmnikhil avatar Sep 08 '16 14:09 vmnikhil

As far as I know the active_email can only be retrieved for the own profile. However the other emails like business_address.email should be available, if your contact has shared this information with you.

For more information your should go to the official XING Developers group

johanness avatar Sep 08 '16 17:09 johanness

Thank you @johanness for replying.I tried By changing privacy settings,but for some reason not getting any emails, all email keys are coming null.

vmnikhil avatar Sep 09 '16 06:09 vmnikhil

I tried using the contacts call in the dev portal. As user ID I passed me and as user fields I passed business_address.email. Of those of my contacts who allow me to see their business email address, I get the email in return. For those contacts who did not share their email with me, or who just don't have a business email, it returns null.

johanness avatar Sep 09 '16 06:09 johanness

@nikhilvm1993 This is a setting you have to set for each contact. This might help you: https://www.xing.com/help/hilfe-fragen-und-antworten-2/allgemeines-55/datenschutz-einstellungen-147/sichtbarkeit-eigener-daten-profil-kontaktliste-kontaktdaten-fur-andere-161

jojahner avatar Sep 09 '16 07:09 jojahner

This is the english version: https://www.xing.com/help/help-and-faq-2/general-stuff-55/privacy-policy-and-settings-147/visibility-of-personal-details-profile-contact-list-contact-details-to-others-161

jojahner avatar Sep 09 '16 07:09 jojahner

@johanness @jojahner : It was really a lifesaver, since I am new to Xing. Thank you @johanness ,Thank you @jojahner for your wonderful help.

vmnikhil avatar Sep 09 '16 07:09 vmnikhil