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 API Contacts query by Extended Property

I've uploader contacts from my application to Google Contacts with an external code property named extcod. ExtendedProperty property = new ExtendedProperty(); property.Name = "http://www.example.com/schemas/2005#mycal.extcod"; property.Value =…
user575380
  • 27
  • 3
3
votes
0 answers

Firebase Invites contact List

The documentation of Firebase Invite https://firebase.google.com/docs/invites/ says that "The share screen's contact list is populated from the user's Google Contacts and the contacts stored locally on the device.". In my app that i'm developing i…
3
votes
1 answer

405 Error with POST request (AngularJS $http)

I want to do a post request on Google Contacts API with AngularJS $http. I tried to do this : var config = { headers: { // "Content-Type": "application/json", "Authorization": "Bearer " +…
Zooly
  • 4,736
  • 4
  • 34
  • 54
3
votes
1 answer

distinct domains in Google Contacts

List ls = new List(); Feed f = cr.GetContacts(); foreach (Contact e in f.Entries) foreach (EMail el in e.Emails) if…
Pratik
  • 11,534
  • 22
  • 69
  • 99
3
votes
2 answers

how to get google contacts in angular 2

i am trying to get google contacts in my angular 2 project here is my code please help me, thanks in advance. in component i done this: googleContacts(){ this.contactService.googleLogin() .subscribe( response => { …
3
votes
1 answer

how can I add a contact to a group in google contacts api v3

I am trying to add a contact to a group in google contacts. When I try it in Google's "OAuth 2.0 playground" it works, but from my web-application, with exactly the same headers, method of posting and body, I get "error 400: bad request". This is my…
3
votes
2 answers

Importing Google contacts with angularjs

I'am trying to import a user's gmail contacts using Angular Js. The code is working fine in plain javascript but giving error in angular js. HTML Code.. Import Gmail…
Lucy
  • 1,812
  • 15
  • 55
  • 93
3
votes
2 answers

Updating Photo using Google Contacts API v3

I'm trying to update/add a photo to an existing contact using the Google Contacts API v3 and just can't figure out how to do it. I'm using ColdFusion. I can authenticate thru the Google service, read a photo, display it, and even delete a photo. …
Scott
  • 29
  • 4
3
votes
0 answers

Google Contacts API version 3.0 (JAVA) - OAuth2.0 CRUD Operations

I am trying to make use of Google Contacts v3 API with OAuth2 authentication. But some of the old sample codes are now not working for this API. I want to know, if classes in API have detailed,latest and easy documentation available (excluding of…
3
votes
1 answer

Google Contacts API get phone number (PHP)

I'm using the Google Contacts API and I'm able to extract names and email addresses but I'd like to also get profile pictures and phone numbers. I'm using PHP and here's my code while authenticating: //if authenticated successfully... $req = new…
tim peterson
  • 23,653
  • 59
  • 177
  • 299
3
votes
2 answers

What is the correct mechanism to authenticate to Google in a standalone Python script?

I've got some code that I'm using to extract email address from Gmail contacts into text file. It's a simple Python script that runs in a cron job, and is based on the Python gdata library (currently v2.0.18). As of earlier this month, this no…
Ken Pronovici
  • 774
  • 1
  • 8
  • 20
3
votes
0 answers

Creating a contact with Google Contacts API 3

I am having problems creating a contact entry using Google Contacts API. I am using PHP to do this. My problem is, I can create an entry in the users contacts, but there is no name set. The only field to be set is the email address. For example…
amburnside
  • 1,943
  • 5
  • 24
  • 43
3
votes
0 answers

Google Contacts API V3, how to search

There are various examples provided in this link https://developers.google.com/admin-sdk/directory/v1/guides/search-users by Google. However, I can't seem to find what I am looking for. I want to pull all contacts that include phone numbers or…
Allen King
  • 2,372
  • 4
  • 34
  • 52
3
votes
2 answers

Google Contacts API nodejs

I've been looking through the Google NodeJS API docs, but I don't see one listed for the Contacts API. Am I missing something or is that not included in the module?
3
votes
1 answer

How to create a ContactsService using Google Contact API v3 with OAuth v2 UserCredentials

My application is using Google API Calendar V3 with the OAuth and this works great. It will ask the user for their consent the first time. It is easy to use the Calendar Service to create, modify and delete calendar events. So far so good! Now I…