Comments (8)
hi, this works for me https://gist.github.com/clouw/5871254
from omnicontacts.
Due to msdn.microsoft.com/en-us/library/live/hh243648.aspx#contact you should only receive email hashes.
from omnicontacts.
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.
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.
I agree with @dpsk
from omnicontacts.
@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.
@cweilemann, you are right, right now there is no way to fetch email addresses out of Hotmail :(
from omnicontacts.
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)
- Omniauth + Omnicontacts
- omnicontacts errors with rack 2 (after upgrading to rails 5) HOT 4
- Fetch contacts with pagination HOT 1
- Is Hotmail still a separate service? HOT 2
- Yahoo OAuth 2 HOT 5
- An active access token must be used to query information about the current user - Facebook HOT 5
- Rack version is detected wrong HOT 3
- How to resolve 'Internal error' error message? HOT 2
- Please update the rubygems.org version to the latest version. HOT 2
- An active access token must be used to query information about the current user when trying to import contacts from facebook HOT 2
- logger is not working
- LinkedIn connector HOT 1
- Internal Error on Yahoo OAuth HOT 2
- is this gem still active?
- Outlook is returning only few contacts
- Config to use state parameter while requesting from gmail HOT 1
- undefined method include? for NilClass HOT 1
- Cannot import contacts from yahoo. HOT 4
- Yahoo OAuth connection error HOT 3
- Contacts API is being deprecated.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from omnicontacts.