Using google plus API is it possible to fetch gmail contacts

断了今生、忘了曾经 提交于 2019-12-30 10:36:07

问题


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


回答1:


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




回答2:


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.



来源:https://stackoverflow.com/questions/21276606/using-google-plus-api-is-it-possible-to-fetch-gmail-contacts

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!