Using google plus API is it possible to fetch gmai

2019-02-18 18:42发布

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

2条回答
甜甜的少女心
2楼-- · 2019-02-18 19:15

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.

查看更多
狗以群分
3楼-- · 2019-02-18 19:29

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

查看更多
登录 后发表回答