Skip to content
This repository has been archived by the owner on Mar 8, 2019. It is now read-only.

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

Open
vmnikhil opened this issue Sep 8, 2016 · 6 comments

Comments

@vmnikhil
Copy link

vmnikhil commented Sep 8, 2016

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.

@johanness
Copy link

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

@vmnikhil
Copy link
Author

vmnikhil commented Sep 9, 2016

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.

@johanness
Copy link

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.

@jojahner
Copy link
Contributor

jojahner commented Sep 9, 2016

@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
Copy link
Contributor

jojahner commented Sep 9, 2016

@vmnikhil
Copy link
Author

vmnikhil commented Sep 9, 2016

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants