locked
how to Retrieve a user'c contacts (emails)? RRS feed

  • Question

  • I'm trying to implement  "Find Friends" feature in my web application to send them invitations like in Facebook.I've searched and found Windows Live connect API yet it returns the contact's name or the email Hashed.I need to get the emails explicitly.

     

    Any help ?

    Wednesday, July 6, 2011 2:53 PM

Answers

  • We do not allow access to contact email addresses via the Messenger Connect APIs.

    Wednesday, July 6, 2011 9:14 PM
    Moderator
  • We do not allow accessing a user's contact's emails however, we do give developers the ability to discover hashes of the user's contacts' emails.

     

    See this help page: http://msdn.microsoft.com/en-us/windowslive/hh278351

     

    The scenario here so if you have existing users using your application for whom you already know their emails, you can compute the proper hashes of these emails and check to see if any of a user's friends or contacts are already users of your application.

     

    This scenario only requires the wl.basic scope.

     

    I hope this helps,

    Matt

    Wednesday, July 20, 2011 10:14 PM

All replies

  • We do not allow access to contact email addresses via the Messenger Connect APIs.

    Wednesday, July 6, 2011 9:14 PM
    Moderator
  • Are there other alternatives then other than Messenger Connect API? I see this feature "Find Friends" is implemented in Facebook and alot of social network websites so how does windows live expose the emails and make them available for thisd party applications?
    Thursday, July 7, 2011 10:10 AM
  •  

    "We do not allow access to contact email addresses via the Messenger Connect APIs."

     

    That's why Microsoft products are junks. Wonder why users and developers are gravitating to your biggest competitor Google? Go Figure!


    Saturday, July 9, 2011 3:33 AM
  • What is the other solution to get contacts email of an user?? 

    I'm creating invitation module (gmail, facebook, twitter, linkedin...) for a web site a website and I can't believe Microsoft hash email adresses.

    I'm sure there is an alternative method or maybe I miss a thing?

    How facebook module works? did it use WL connect 5.0??

    Monday, July 11, 2011 4:18 PM
  • We do not allow accessing a user's contact's emails however, we do give developers the ability to discover hashes of the user's contacts' emails.

     

    See this help page: http://msdn.microsoft.com/en-us/windowslive/hh278351

     

    The scenario here so if you have existing users using your application for whom you already know their emails, you can compute the proper hashes of these emails and check to see if any of a user's friends or contacts are already users of your application.

     

    This scenario only requires the wl.basic scope.

     

    I hope this helps,

    Matt

    Wednesday, July 20, 2011 10:14 PM
  • OK Can you explain how twitter does it? did you guys grant a special permission just because they are a big company?

    they can show and send an invitation to all my contacts, they seem to be using version 4.1.

     

    Please advise as everybody allows but you and unfortunately a lot of my contacts still use hotmail.com

    Thursday, July 21, 2011 9:32 PM
  • Was working on the same thing, until I found out that the contact object only contained an email hash.

    Would like to hear from MS on how the big players like facebook do it?

    No surprise another stab at developers by the creators of the horror known as IE

    Friday, August 12, 2011 9:28 AM
  • Same here. I did not bother to 'ensure' that the contacts data contains the email address. After having almost completed my mobile app, just realized that there's no email address, only the hash. Could not understand why it could not be shared, especially when the user is providing consent for each and every detail. 
    Monday, August 15, 2011 5:03 PM
  • Did someone find an alternative solution?

    We are also working on a invitation module. We want our users to invite their contacts to register with our application. So it is certain that we do not have the hashes for the inviting user's contacts.

    Can't believe there's no alternative or it makes this the most useless functionality MS ever produced...

    Tuesday, January 3, 2012 8:36 PM
  • Dealing with this same issue. Would be great to know of an alternative.
    Wednesday, January 4, 2012 1:17 PM
  • Can you give us some details on how you get the contact emails from Gmail, Facebook, twitter, and LinkedIn? As far as I know most of these services don't expose the email of users' contacts and friends because of privacy and legal concerns.  If I'm mistaken, I'll be interested in understanding under which conditions and using what mechanism contacts emails are shared.

     

     

     


    Federico Raggi. Program Manager / Windows Live Developer Platform / Microsoft
    Thursday, January 5, 2012 1:10 AM
  • You mention other services allows your application to get contact emails.  I believe most services such as Gmail, Facebook, twitter, and LinkedIn don't expose the email of users' contacts and friends  because of privacy and legal concerns. 

     

    If I'm mistaken, I'll be interested in understanding under which conditions and using what mechanism contacts emails are shared by these services.

     


    Federico Raggi. Program Manager / Windows Live Developer Platform / Microsoft
    Thursday, January 5, 2012 1:16 AM
  • The social services (LinkedIN, Facebook and Twitter) protect the information but Gmail and Yahoo allow getting the emails of your contacts via API. Hotmail is the major provider who doesn't. Gmail and Yahoo both have a Contacts API that allows full access to the contact profile. Gmail is here and Yahoo is here.

    Their implementation is exactly the same as the Live Connect API except full contact emails are returned instead of email_hashes.

    Thursday, January 5, 2012 5:55 AM
  • Another issue is I went back and tried to implement v4.1 of the API using the WL_Contacts.ViewFull permission. No matter what scopes I use for the request (I've tried a bunch) only the View Profile permission is being presented on the User Consent page.

    After authentication, I can retrieve the profile but when I request contacts I get the "required offer not available" error message. It's obvious why since that scope isn't presented on the User Consent page. What options do we have? Is there a department we can talk to about gaining access to this permission? How long will 4.1 still be active?

    There has to be an option for gaining access to contact emails. We see companies like Facebook, CloudSponge, Plaxo and numerous others still using that functionality yet our app won't request that permission. 

    Friday, January 6, 2012 5:30 AM
  • I confirm that Yahoo and GMail allow getting the full email addresses from contacts through their contacts API. It is already working for us.
    Monday, January 9, 2012 6:34 PM
  • Can you explain a typical scenario where this is useful?

    I have a hard time understanding the point of this api, other than paranoia of Hotmail loosing it's email users to another service such as Gmail. Generally when you request a contacts list you intend to actually contact them. If this api is only for cross referencing user base, what it he point? What exactly are you supposed to do with that information?

    It seems reading through these comments (and elsewhere) that most people are implementing an invitation process to their app. I am as well. I've got it already hooked up for Gmail and Yahoo. Unfortunately I'll have to leave out Hotmail. Maybe if people keep seeing those logos on other apps instead of Hotmail they'll be enticed to actually switch to them.

    It's very frustrating as I discovered (as with many others here) of this anti-functionality at the near completion of my implementation.

    Saturday, August 18, 2012 12:54 AM
  • OK Can you explain how twitter, Facebook and LinkedIn does it? did you guys grant a special permission just because they are a big company?

    if you do not provide the email then whats the use of the contacts api. its totally waste of time 

    Thursday, December 6, 2012 9:42 AM
  • Hello?  Why won't anybody from Microsoft answer the questions that Dharmagk summarises? 

    1.  If contact emails cannot be accessed via the API how are big companies doing it?

    2.  What is the point of the contacs api if you can't use it to contact people?

    I too have wasted a load of time coding my app to authenticate and fetch contacts only to find that I need to know the emails before I can fetch them (??!!).  If you won't allow this functionality then scrap the API or put a warning in big letters at the top explaining that this is a pointless API.  

    You lost the monopoly over a decade ago.  Get over it!  And please please please stop making browsers!!!!

      

    Sunday, February 10, 2013 12:19 PM