I know there are similar questions, but bear with me...
I've hit similar problems to other questioners regarding only getting hashed versions of contact email addresses, and understand why.
The thing is, I've noticed that google+ appear to be able to get contact email addresses just fine using LiveConnect. Using fiddler, I notice that they seem to be requesting an authentication scope "wl.contacts_emails" which does not seem to be documented.
Some googling suggests "enhanced permissions" but there's no mention of this when setting up or editing a windows live connect app on their site.
How do I get this scope on my app?
From the top menu click Manage. From the options that show up, click Export contacts. Choose to export all contacts. You may also select a specific folder if desired.
Like mail data, Windows Live Mail contacts files are a stored in a hidden system folder on your computer and are selected by default. Windows Live Mail contact data can be found in the following location: C:/Users/{USERNAME}/AppData/Local/Microsoft/Windows Live/Contacts/
You add the same Microsoft Account in the Mail app as you used to sign in with in Windows Live Mail. Then it should all happen automatically.
It works for me in production using wl.contacts_emails
IN CONJUNCTION WITH wl.emails
. I did not test it with only wl.contacts_emails but linkedin uses both scopes.
After WL.init
here is the full scope used:
WL.login({
scope: ['wl.basic', 'wl.emails', 'wl.contacts_emails'],
}).then(function(response) {
It still isn't documented and Microsoft has explicitly stated that you cannot get the contact email addresses, so use with caution. However, the entire oauth system is the biggest joke of an api I have ever worked with, so I'm guessing it's just so cluster-effed that someone just forgot to write it down.
Edit: the full story is here, Microsoft has confirmed the existence of wl.contacts_emails
, and claim they it only works with certain partners who have made agreements with them. However, they are lying to cover their tracks and it works for all clients. The whole thing is a mess.
TL;DR wl.contacts_emails
works but they won't admit to it, so there's a chance at some point in the future they could rip it out from under you.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With