Git Product home page Git Product logo

Comments (8)

ramon-sg avatar ramon-sg commented on August 11, 2024

hi, this works for me https://gist.github.com/clouw/5871254

from omnicontacts.

mazikwyry avatar mazikwyry commented on August 11, 2024

Due to msdn.microsoft.com/en-us/library/live/hh243648.aspx#contact you should only receive email hashes.

from omnicontacts.

Diego81 avatar Diego81 commented on August 11, 2024

Please have a look at the README. Hotmail returns a Contact object which does not contain an e-mail field! However, if the contact has either name, family name or both set to null, than there is a field called name which does contain the e-mail address. This means that it may happen that an Hotmail contact does not contain the email field.
I have tried using entry["emails"]["preferred"] but it did not work for me.

from omnicontacts.

dpsk avatar dpsk commented on August 11, 2024

You can check out this thread, hotmail api have undocumented scope wl.contacts_emails, that used by Google, Linkedin, etc by agreement with the Microsoft. A lot of people claimed that this scope still can be used by any app.

I tried it and get invalid_scope error, seems like they fixed this hole :)

So now the only way to get email is to rely on missing first_name and last_name.

from omnicontacts.

Diego81 avatar Diego81 commented on August 11, 2024

I agree with @dpsk

from omnicontacts.

cweilemann avatar cweilemann commented on August 11, 2024

@Diego81 @dpsk - sorry to raise a ghost, but I just want to confirm... Other than hoping that a Hotmail user's contacts are missing first_name and last_name, there is no way to get email addresses out of Microsoft's API, correct?

from omnicontacts.

dpsk avatar dpsk commented on August 11, 2024

@cweilemann, you are right, right now there is no way to fetch email addresses out of Hotmail :(

from omnicontacts.

BeenaShetty avatar BeenaShetty commented on August 11, 2024

I have tried using entry["emails"]["preferred"] and adding wl.contacts_emails in scope it worked for me.

Reference https://gist.github.com/clouw/5871254

from omnicontacts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.