windows-live

Windows live api get email contact vs email hash

懵懂的女人 提交于 2019-12-04 18:11:52
I am trying to get email contact from hotmail with php or javascript. I have read that windows live api return only hash of the email contact, and it is proved by the code example: http://isdk.dev.live.com/ISDK.aspx But some web site like facebook can retrieve the plaintext of email contact from hotmail. How it is possible? Thanks a lot. You can test this code (dont forget to [SECRET API KEY] with your api key) : <?php function isEmail($email) { return filter_var($email, FILTER_VALIDATE_EMAIL); } function unfucked_base_convert ($numstring, $frombase, $tobase) { $chars =

Using Live Connect API in ASP.NET to retrieve a user's email address

落爺英雄遲暮 提交于 2019-11-30 20:27:25
So I am fairly new to ASP.NET MVC and Windows Live Connect API. Basically I am trying to integrate Live sign in into my website. When users sign in, Live requests their permission to give my app certain info, sends the user to a redirect uri specified in my app settings appended with a querystring. Here, if the user is signing into the site for the first time, I want their basic info stored on my server (first name, last name, email). I have been able to get their first and last name, but am having a hard time finding out how to retrieve their primary email address. I'll explain what I've done