Questions tagged [google-people-api]

The People API lets you list and manage the authenticated user's Contacts and retrieve profile information for authenticated users and their contacts.

The people information that the People API retrieves is merged from various sources, depending on the following conditions:

  • Public Google profile data Always.
  • Google Apps domain profile data The domain admin has enabled external contact and profile sharing of domain-scoped data.
  • The authenticated user's private profile information One of the profile scopes has been granted.
  • The authenticated user's contacts The contacts scope has been granted.
528 questions
4
votes
2 answers

Using Google People API with Service Account

I'm using the Google People API to access my contacts. I activated it in the Google Developers Console and created a project, a service account (ending with ....iam.gserviceaccount.com) and a key for authentication which is stored in JSON…
4
votes
2 answers

Google People API gapi.client.people.people.connections.list returns Request had insufficient authentication scopes

Google People API gapi.client.people.people.connections.list returns error 403 with error message Request had insufficient authentication scopes even though the initialization includes the required scope gapi.client.init({ apiKey:…
Yaman
  • 1,030
  • 17
  • 33
4
votes
1 answer

Using Google People API with Cloud Functions for Firebase

I'm trying to get a list of contacts from the Google People API with Cloud Functions for Firebase but I'm only getting an empty object as the response. Any thoughts? Cloud Functions code below: var functions = require('firebase-functions'); const…
4
votes
1 answer

Google API: Get another user's email address by email alias

We'd like to retrieve from Google another user's primary email address based on an email alias. Note that it's not for the same user that authorized the app with Google OAuth but for another user in the organization (otherwise the Google People API…
3
votes
2 answers

I can't authorize gmail api application in google colaboratory

I'm running the quickstart code from https://developers.google.com/people/quickstart/python in a colab notebook. # \[START people_quickstart\] from __future__ import print_function import os.path from google.auth.transport.requests import…
3
votes
1 answer

Google People API - Directory Contacts - Cannot get name field from API

We are using People API to fetch details from Directory . The API is not returning the name for most of the people in the directory. 2 accounts in our GSuite account alone provide the name field, while the others don't. However, other details like…
3
votes
2 answers

Get ACCESS_TOKEN_SCOPE_INSUFFICIENT error migrating to People API

I have a desktop Java app that I am migrating from Google Contacts API to People API. I have some of it working. For example, I can retrieve contact information. But when I tried to create a new contact, I get the following…
Eric S
  • 133
  • 1
  • 9
3
votes
0 answers

record/save audio from voice recognition intent on Android TV

I have followed this post to implement an app and save Google voice search audio. I have used @Iftah's code to save amr file to storage. This works on Android phones, but when I try this on Android TV/STB there is no URI getting generated for the…
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
0 answers

Google People API - Get contact profile picture

When I try to get the profile photos of my contacts on Google Contacts, I just get the first letter of their name as a picture, not the image that I uploaded as their profile picture. This is the code I use to get photos (a bit ugly for…
elpideus
  • 95
  • 1
  • 10
3
votes
2 answers

How to create google contacts using People API and Nodejs

Im searching for how to create google contacts using the People API, i have followed the guide here: https://developers.google.com/people/quickstart/nodejs My current code: const fs = require('fs'); const readline = require('readline'); const…
user14766639
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
1 answer

Service Account - Must be a G Suite domain user

This is my team's first foray into implementing functionality with Google Cloud and GSuite. After searching issues and the community I have not yet found what seems to be the proper path forward, or at least have not managed to get the desired…
3
votes
0 answers

Persist operations on People API appear to be much slower than on Contacts API

We have recently switched over to the new Google People API on our sync platform. We chose to only do this for newly set up connections for now so to determine the impact. Functionally all seems to work fine, so no actual bugs to be raised. However…
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
1 2
3
35 36