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
3
votes
1 answer

How to create a Google Contact using the new People API and at the same time registered that contact into multiple groups/labels

Google People API - the new version of Google Contacts Api How can I create a new contact using Google People API and at the same time "register" or add that contact to multiple user groups/labels. Previously using the google contact api this was…
3
votes
1 answer

Error when including a contact to group using People API

I need to add a single contact to all the below groups. I tried to add the contact to groups one by one, however when I tested with the first group the API gave an error GoogleJsonResponseException: API call to people.contactGroups.members.modify…
Code Guy
  • 3,059
  • 2
  • 30
  • 74
3
votes
0 answers

Android Speech Recognition on smartglasses Vuzix M300

We are currently developing an application that needs voice interaction. The app is for the smartglasses Vuzix M300. We have tried their sample app for Speech recognition but it does not work as expected (some words are not always recognized). After…
3
votes
1 answer

How to change google profile picture via API?

I am looking for a way how to change user profile photo programmatically. Generally, I need to be able to change avatars of domain GSuite users, but if there are API for changing my own avatar is also good. Had tried…
h0x91B
  • 1,211
  • 15
  • 19
3
votes
1 answer

Google Contacts API v3 suddenly retrieving only 1.500 conctacts

I have been using this API for 6 years with no problems, but since 3 days ago I experienced a series of strange behaviours, realizing my google contacts started duplicating without control. I figured it out it is related to a strange limit to 1.500…
3
votes
1 answer

How to get google contacts but not gmail contacts?

I'm extracting the information of contacts stored in the phone. I'm working on 2.1. I'm able to extract every RawContacts from the query including "auto gmail contacts" which I do not need. I've done quite a bit searching on SO but could not find…
Creniale
  • 238
  • 3
  • 16
3
votes
4 answers

In Android 10 getDeviceID value is null

In android 10, couldn't get device id using permission "READ_PHONE_STATE". I got an error while trying to get deviceID "The user 10296 does not meet the requirements to access device identifiers". I referred the developer site, but couldn't get…
Arun Kumar
  • 31
  • 1
  • 1
  • 2
3
votes
2 answers

How get textinput value on gmail addon

I create a Gmail add-on with a form. In this form, I have input but in my script, I can not find how to retrieve the value of input in variables. The following code opens a sidebar in the Gmail inbox when you click on an e-mail and fill in the…
3
votes
1 answer

invalid_grant response from exchange of authorization code

I am trying to authenticate my application to Google contacts API. I have gone though the first step in the Oauth2 flow and have an authorization code. I am trying to exchange this code for an access token and refresh token, but when i try to get…
3
votes
2 answers

Rails - Importing GMAIL Contacts & then Syncing with GMAIL, Updating Inserting

does anyone know of a good gem for using the Google Contacts API? Where you can sync, update, add records to a user's google contacts account? I've search and can't tell which is the winner. Thanks
AnApprentice
  • 108,152
  • 195
  • 629
  • 1,012
3
votes
1 answer

import contacts from gmail/hotmail/yahoo to php

i would like to import contacts from gmail/hotmail/yahoo to my php applications just like those found in social network. i've read how gmail does it but im still not very clear about it. it says i would need to do a http request like this…
chrizonline
  • 4,779
  • 17
  • 62
  • 102
3
votes
0 answers

Google GCM Deprecation - Old Mobile Clients with GCM Token

There are lots of Articles, Blogs, Question/Answers about Migration to FCM from GCM. Although not very clearly documented is what is going to happen with Older Clients which uses GCM tokens (either old or newly obtained) after April 2019. My…
PHAL
  • 41
  • 2
3
votes
2 answers

How to get multiple google credentials (Gmail API, Pub/Sub, Contacts) during signup process

I'm working on a Python based project that would gain access to various Google APIs such as Google Contacts API, Pub/Sub API, Gmail API etc. Getting the relevant tokens and credentials with OAuth 2.0 for those APIs are highly manual at the moment…
3
votes
0 answers

Getting contact relationship such as spouse from Google Contacts script interface

I am trying to access the "relationships" additional fields in google contacts via the apps script interface. The docs show the "getCustomFields()" call, but it does not seem to contain any information from my contacts about spouse, child, or other…
3
votes
2 answers

You do not have permission to call getContacts

I'm developing the GMail Add-on that pulls out all user's contacts to card: var contacts = ContactsApp.getContacts(); I already enabled ContactsAPI in Google API Console and added scope: https://www.googleapis.com/auth/contacts.readonly But the…
MMM
  • 103
  • 13