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

return google contacts api v3 photo?

OK I am trying to retrive a photo for each contcat using the google contacts api v3. I've managed to get the photo back but I am unable to decode whatever google is dumping at me. how to i convert this: `����JFIF��� !"$"$ …
vimes1984
  • 1,684
  • 3
  • 26
  • 59
0
votes
1 answer

Google forms onFormSubmit (whilst editing) causes duplicates

Edit: Here is an execution transcript, of editing an existing contact form (i see nothing about deleting any existing contact??). [14-01-21 13:39:03:306 EST] Starting execution [14-01-21 13:39:03:311 EST] FormResponse.getItemResponses() [0.001…
0
votes
1 answer

Google Contacts v3 API + How to add a contact to a group?

I can do a CRUD with a contact or a group, but I can't figure out how to add a contact to a specific group. Someone can help me?
Gustavo Lira
  • 391
  • 5
  • 19
0
votes
1 answer

How to retrieve recently updated contacts?

What is an efficient way to find recently updated Google contacts? The obvious solution to retrieve all contacts with ContactsApp.getContacts() and iterate through all of them with getLastUpdated() doesn't seem particularly efficient and I am…
B.No
  • 85
  • 8
0
votes
1 answer

What is the use of the Display Name in the Email field of Contacts? (GAS)

The EmailField class of ContactsApp has get/setDisplayName() methods. What can be a use for this display name? Thanks.
B.No
  • 85
  • 8
0
votes
1 answer

How to add a contact without a name in GAS?

I have a collection of contact info that I would like to add to Google Contacts via the ContactsApp. Is some cases this info is just an e-mail address without a name. contact = ContactsApp.createContact("tmp1", "tmp2", "email"); The above doesn't…
B.No
  • 85
  • 8
0
votes
1 answer

How to ignore namespace with Apache Commons Digester?

I'm trying to parse the XML from the Google Contacts API. The parts that are relevant to me and to this question are the given name, family name and the email address, and they look like this:
ZeroOne
  • 3,041
  • 3
  • 31
  • 52
0
votes
2 answers

getContactsByCustomField Performance

I'm writing a google app script, that sync our crm-contacts to google contacts. I've a trigger every 10 minutes and only sync 10 contacts per run. But i get many script-timeouts per day. I found out, that the slowest operation in my script is //…
sokki
  • 35
  • 1
  • 6
0
votes
1 answer

Google Contacts API v3 OAuth2 does not allow administrator to retrieve contacts of another user, is there any other way to do this?

Google Contacts API v3 OAuth2 does not allow the administrator to retrieve the contacts of another user. We are not willing to use OAuth 1.0 as it is deprecated. The access token generation for service account will affect our product's…
Sayali
  • 356
  • 1
  • 2
  • 13
0
votes
1 answer

OAuth2 Issue with gData ContactsService

I am receiving an exception when trying to authenticate and make a single call with the java client libraries (gData 1.47.1) using OAuth2. The following is the exception: java.lang.NullPointerException: No authentication header information at…
ndixon
  • 115
  • 8
0
votes
1 answer

Fetching contacts from gmail -closed

I am trying to fetch contacts of gmail using Google Contacts API and Oauth 2.0 API. I am totally new to this concept. I was trying the same code given in the this link to fetch all the contacts but somehow it won't work. My…
Vighanesh Gursale
  • 921
  • 5
  • 15
  • 31
0
votes
1 answer

How to retrieve member size of google contact group.?

I want to retrieve member size of Contact Group. I am using below URL. String pageUrl="https://www.google.com/m8/feeds/contacts/default/full/" + "?xoauth_requestor_id="+userEmail+"&group="+groupId; It is retrieving by default 25…
RBP
  • 481
  • 1
  • 9
  • 29
0
votes
1 answer

In Android Jellybean, how do I share a contact entry with specific fields I choose?

I have a phone with an android jellybean 4.3. I am using google contacts in my people app. I would like to share my contact entry to my clients, however, I only want to send them specific entries such as my mobile number and email address only. My…
0
votes
1 answer

How to retrieve google contact groups using url.?

I am retrieving contacts groups of users. I have to show groups by pagination. So i am doing like this, URL feedUrl1 = new URL("https://www.google.com/m8/feeds/groups/"+userEmail+ …
0
votes
1 answer

How to loop command using the .getRowIndex() in Google Sheets?

function getColIndexByName(colName) { var sheet = SpreadsheetApp.getActiveSheet(); var numColumns = sheet.getLastColumn(); var row = sheet.getRange(1, 1, 1, numColumns).getValues(); for (i in row[0]) { var name = row[0][i]; if (name ==…