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

Google Contacts Tasks Calendar API Cost

I know the Google Maps API charges sites that use the Maps API heavily. I can't find similar information on charges for Tasks, Calendars, and Contacts. Are there such limits or are these totally free? Can anyone point me to a place this is…
3
votes
0 answers

google script accessing a contact's custom label for an email address

(new to Google Script {about 2 weeks} so please be verbose) I have tried everything I could find or think of to display the custom labels for a contact's list of email address. This has been very frustrating. When I search I get a lot of hits for…
3
votes
1 answer

Does Google Contacts API Support High Resolution Pictures?

Google recently added high resolution support (720x720) for contacts' images via the gmail interface. Previously, it would to convert all images to 96x96. However, when I post an image using the Contacts API it still gets converted to 96x96. I…
dough
  • 714
  • 5
  • 14
3
votes
1 answer

PHP Google Contact API generateing HTTP/1.0 401 Authorization required

I am using Google Contact API V3 with OAuth 2.0 to retrieve the contacts from Google Account, I am getting a OAuth Token from a child window using jQuery, and after post that token to another file which should get the User's Contacts, but when I…
Hassam
  • 253
  • 6
  • 16
3
votes
2 answers

google oauth2: re-acquiring a refresh_token for an authorized user on a web server application

I'm using oauth2 on a web server and the flow works flawlessly (https://developers.google.com/accounts/docs/OAuth2WebServer). However, I have some situations in which I need to re-acquire a refresh_token (let's say for example that the…
Tomer Weller
  • 2,812
  • 3
  • 26
  • 26
3
votes
2 answers

Retrieving refresh token using oauth2 on Google Contacts API version 3.0

I am using oauth2 (node.js and the connect-oauth library) to connect to the Google contacts API version 3.0. Doing so, I get a response such as: { access_token : "...", "token_typen": "Bearer", "expires_in" : 3600, "id_token": "..." } I am missing…
forste
  • 1,103
  • 3
  • 14
  • 33
2
votes
1 answer

Google Contacts API doesn't show up in the list of API's available

I tried out the Tasks example described here: https://developers.google.com/google-apps/tasks/oauth-and-tasks-on-android by enabling the Tasks API in the API console but I didn't see an option for the Contacts API. Is there a reason for this?
Jrom
  • 849
  • 1
  • 10
  • 19
2
votes
5 answers

"Unknown authorization header" while fetching google contacts using php, (zend) gdata and 2 legged oauth

I am writing a 2 Legged OAuth app (Google Marketplace app) using zend gdata library. I need to fetch google contacts. Code as given below. require_once 'Zend/Oauth/Consumer.php'; $oauthOptions = array( 'requestScheme' =>…
Amit
  • 71
  • 1
  • 8
2
votes
1 answer

Request had invalid authentication credentials. Expected OAuth 2 access token error

I need to read and import google people contacts but I get the following error: "Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See…
2
votes
1 answer

Google Contacts API Not Returning System Groups

https://www.google.com/m8/feeds/groups/default/full/6 That should return a list of all the contacts in the system group My Contacts, but it says "Group not found." When I request a list of all the contact groups, it only returns the user-defined…
2
votes
1 answer

Why ContactsApp.getContacts ByEmailAdress('someemail@email.com') returns [Contact] using Google Apps Script?

Although everything now runs, I only see logged [Contact], as it's returning an array. No documentation of how to get the email besides ContactsApp.getContacts ByEmailAdress('someemail@email.com'), though. Thanks for any clarification. Antonio
onit
  • 2,275
  • 11
  • 25
2
votes
1 answer

Permission issues with Google Contacts API in Google script

I am working on one project for a client, and I need to add contacts to Google Contacts with Google Contacts API. The code: function createContact(data) { var contact = ContactsApp.createContact(data.firstName, data.lastName, data.email); …
Matu
  • 33
  • 1
  • 9
2
votes
0 answers

Accessing private thumbnails provided by the Google Portable Contacts API

I'm currently using the Google Portable Contacts API to import my users' Google contacts to a web application. When listing the thumbnail URLs for a given contact, the API returns one of the following two types of…
2
votes
0 answers

Google shared contact api in dotnet

We have been creating shared contacts (external contacts) in Google Workspace using the google contact apis for years. The contact apis are going to be discontinued on June 15, 2021. What libraries can we now use in dotnet? We tried the People api…
CloudAnywhere
  • 669
  • 1
  • 11
  • 27
2
votes
2 answers

Delete "Other Contact" using Python with Google People API

I used Google People API v1.otherContacts.copyOtherContactToMyContactsGroup (reference) to copy a contact from "Other Contacts" to "myContacts" contact group. I now want to delete the original contact from "Other Contacts" using the same API. REST…