3

In my application I want to fetch my gmail contacts. In my app I have already integrated "Google+ API" So i just need to know that can i access my gmail contact by using the same API. Or I need to integrate Gmail API. Please help me I am new to this

Raj
  • 637
  • 13
  • 32
  • Don't forget to upvote / mark top answer questions that have helped you. If no answer has helped you, leave a comment and add further details. Others facing the same issue will want to know what solved your problem – Simon McLoughlin Feb 03 '14 at 10:27
  • is it possible using google plus API? – Nisha haridas Jun 06 '15 at 11:12
  • i used gmail api but it does not provide functionality to fetch user contacts, i think to fetch gmail user contact we need to use Google Contacts API.... – Umar Farooq Nov 14 '16 at 13:04

2 Answers2

2

I wouldn't imagine how you would get the contacts from one service by using another? Not everyone in your gmail contacts is going to be on your google+ account, so how would it be possible to get them?

There are other ways and it is documented online how to integrate with gmail, I suggest you research links like the following to find something you need:

gmail integration in ios application

Gmail API for objective-c?

how to fetch my Gmail contacts into my iPhone App

Community
  • 1
  • 1
Simon McLoughlin
  • 8,293
  • 5
  • 32
  • 56
1

It is possible, but only if you ask for the contacts scope alongside your Google+ scopes.

Where you integrate the Google+ API, you will also need to ask for scope https://www.google.com/m8/feeds.

See https://developers.google.com/google-apps/contacts/v3/ for more details.

Jennie
  • 11
  • 1
  • I need to fetch only the contacts and logged in user profile info. With the link you have provided I am not able to implement it properly, could you please explain me how to do it. even if there is any sample code it will help me. – CKT Nov 13 '14 at 06:47