Questions tagged [google-contacts-api]

The Google Contact API allows users to programmatically interact with the Google Contacts application, which is a web based contact management application by Google. Use this tag for programming questions related to using the Google Contacts API. General computing questions about using the Google Contacts web application is off topic for Stack Overflow.

Google contacts is a web application which allows users to save their contats. This data can be shared across a users devices. For questions related to the Web application please post on Web apps stack exchange as all Google contact related questions will likely be non programming related and there for off topic for Stack Overflow

Google Contacts API

The Google Contacts API allows client applications to view and update a user's contacts. Contacts are stored in the user's Google Account; most Google services have access to the contact list.

Your client application can use the Google Contacts API to create new contacts, edit or delete existing contacts, and query for contacts that match particular criteria

For questions related to the Google contacts api please use googlecontactsapi tag.

1100 questions
9
votes
2 answers

Google Contacts v3 API & OAuth v2, in Java

For the last few days i've been trying to get a list of google contacts using the above APIs. Needles to say, unsuccessfully. Google documentation (which is a total mess if i may say) has not been very helpful regarding my problem. The thing is, i…
Cotheer
  • 191
  • 3
  • 7
8
votes
1 answer

Google Contacts Data Api 401 error

I am using Google Contacts Data Api to get all user contacts following the documentation here https://developers.google.com/google-apps/contacts/v3/ first i used Google Auth to authenticate users to the application using the following code string…
user863939
8
votes
2 answers

CompanionDeviceManager 'onDeviceFound' Callback Function Not Being Called

We are trying to use CompanionDeviceManager class to pair our BLE device with our Android (Version 10) phone without need of location permission. For testing purposes we activited bluetooth of multiple phones and ble devices around our test…
8
votes
1 answer

How to uniquely identity a Person resource in Google People API response from a particular user?

Google People API, unlike Google Plus API doesn't provide an unique id for each Person resource in the response. Why has this been deprecated/removed and how to uniquely identify a Person in an user's contacts list without an id?
jackofblades
  • 305
  • 1
  • 3
  • 9
8
votes
0 answers

Could we make our own CNContainer? swift

In this below image, google and yahoo could get their own CNContainer. Could we make our own CNContainer like gmail and yahoo in these screenshot? If i could, how to do this?
Aldo Lazuardi
  • 1,898
  • 2
  • 19
  • 34
8
votes
3 answers

How to check contact source in CNContact swift?

In Contact apps there's group like "iCloud", "yahoo", "gmail". In swift, is it possible to fetch contact from gmail source only?
Aldo Lazuardi
  • 1,898
  • 2
  • 19
  • 34
8
votes
5 answers

Dynamic Google API redirect URL

I am coding a google contacts import code for a social network this import happens on the user page which the url will vary from user to user e.g. profile/user1, profile/user2 However with google I seem to be able to set only one redirect url and…
André Figueira
  • 6,048
  • 14
  • 48
  • 62
7
votes
1 answer

Google contacts API problems from JavaScript client with OAuth2 authentication

Been wrestling with this for many hours now, the Docs seem to be terrible. Basically I'm trying to get read access to an OAuth2 authenticated users contacts, using either the Portable Contacts API or the full blown Contacts API. Google have recently…
David Tuite
  • 22,258
  • 25
  • 106
  • 176
7
votes
1 answer

Why aren't network requests for iFrames showing in the Chrome developer tools under Selenium?

I have a use case where I need to retrieve the initiator from the Chrome Network tab. This works fine, except for the following case: The iframe is HTTPS; The enclosing page is HTTP; The page was opened by Selenium In this case, the network tab…
7
votes
1 answer

Exception while adding contact in google.Internal server Error

We have been getting the following error from today morning onwards while inserting the contacts through Google API from java. Please find the stack trace below Exception while adding contact in google.... com.google.gdata.util.ServiceException:…
iOS
  • 139
  • 5
7
votes
3 answers

Google API/get directory contacts

I need get list of contacts/phones from google buisness directory listing. I have tried Google Contacts api, it work ok for all contacts under "My Contacts", but not allow show "Directory" contacts. What i have use/how to access thoose…
7
votes
2 answers

Getting google contacts with javascript

How can I get the contacts of a user that has already authenticated using OAuth 2, using Javascript? The authentication is already made, so I need only how to get the contact list. I have read that Google Contacts Api 1 and 2 had some examples for…
Tudor Ravoiu
  • 2,130
  • 8
  • 35
  • 56
7
votes
3 answers

Get Userinfo from Oauth2 Google Contacts API

Error which i am getting: com.google.api.client.googleapis.json.GoogleJsonResponseException: 401 Unauthorized { "code" : 401, "errors" : [ { "domain" : "global", "location" : "Authorization", "locationType" : "header", "message"…
Love Sharma
  • 1,981
  • 1
  • 18
  • 37
7
votes
3 answers

Getting Google Contacts using LightOpenID?

I am currently using LightOpenID to allow users to log into my site, where I can automatically extract their username and email address: $openid->required = array('namePerson/first', 'namePerson/last', 'contact/email'); $openid->identity =…
oshirowanen
  • 15,297
  • 82
  • 198
  • 350
6
votes
3 answers

How to get create an access token in ruby on rails for gmail contacts

I am using Omniauth to request the user gmail credentials, so I can request the user friends/contacts later. Right now I am getting the friends list inside of the OmniauthCallbacks controller, using the access token that the authentication request…
1
2
3
73 74