title: get all user's contact list (including phone number) from google login in javascript
body: <p>I am trying to get the contact number of all the user's contacts through google sign in. I am getting contact name, email and other details but not the contact number. I am specifically trying contacts API v3. </p>
  
  <p><a href="https://developers.google.com/google-apps/contacts/v3/#working_with_contact_group" rel="nofollow">this official link</a></p>
  
  <p>gives a way to get contact details (including phone number) but I am not really sure how to do that in javascript. I googled around and found that people are using contacts API v2 and v1 to get this information. But even there I couldn't find any suitable example. My current implementation using google api (gapi) gives me contacts in this format</p>
  
  <blockquote>
    <p>displayName: "Jamie Lannister"
    etag: ""XXXXXXXX-YYYYYYYYYYYYYYYYYY/Wl9XXXXXXXXXXXXXZ9-cJsx-wUY""
    id: "107108760XXXXXXXXXXXX"
    image: Object
    url: "<a href="https://lh4.googleusercontent.com/-9Iyxxxxxxx/xxxxxxxxxxxxxxx/xxxxxxxxxxk/xxxxxx-xxx/photo.jpg?sz=50" rel="nofollow">https://lh4.googleusercontent.com/-9Iyxxxxxxx/xxxxxxxxxxxxxxx/xxxxxxxxxxk/xxxxxx-xxx/photo.jpg?sz=50</a>"
    <strong>proto</strong>: Object
    kind: "plus#person"
    objectType: "person"
    url: "<a href="https://plus.google.com/107108760XXXXXXXXXXXX" rel="nofollow">https://plus.google.com/107108760XXXXXXXXXXXX</a></p>
  </blockquote>
  
  <p>I got this from this <a href="https://developers.google.com/+/web/people/" rel="nofollow">link</a> and this <a href="https://developers.google.com/+/api/latest/people" rel="nofollow">link</a>.</p>
  
  <p>My question is it really possible to get a user's google+ or google contacts with phone numbers? If yes please answer here. Is there any other way to do this?</p>
  
  <p>Oh by the way, this question is not eligible for bounty yet. Correct answer gets +50 bounty in next 2 days.</p>