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
6
votes
3 answers

Error "(get) unknown parameter: 'personFields'" when following examples in Google People API documentation

I am trying to use the Google People API to add and update my Google contacts. I have set up the API almost verbatim with the example code given in Google's documentation (https://developers.google.com/people/v1/getting-started). I get an error for…
6
votes
2 answers

GoogleSignInResult returns DEVELOPER_ERROR in Android app when requesting server auth code

I am connecting Google People API to the Android app following this manual: http://blog.iamsuleiman.com/people-api-android-tutorial-1/ I am using the following code to sign in: GoogleSignInOptions signInOptions = new…
vmayorow
  • 630
  • 5
  • 15
6
votes
1 answer

Does Google People API support ability to query

Does google people api support the ability to query? Currently, the older api contact google api allows you to use a query parameter "q" to do a simple text search. Was wondering if people api supports this? Thanks, Derek
darewreck
  • 2,576
  • 5
  • 42
  • 67
6
votes
1 answer

Deprecated Plus.PeopleApi.load

Now that Plus.API is deprecated in Google Play Services 9.4, what is correct way to get Google Plus circles for authenticated user on Android Application? Now We have deprecated method of loading plus users Plus.PeopleApi.load New documentation…
Ioane Sharvadze
  • 2,118
  • 21
  • 35
5
votes
2 answers

How to get full information about "other contacts" using People API?

Background I work on an app that needs to get information of "other contacts" as they appear on the address book page on "Contacts" website of Google: The problem The Contacts API is becoming deprecated, and instead we need to use People API. For…
android developer
  • 114,585
  • 152
  • 739
  • 1,270
5
votes
1 answer

Will people.get method be affected by Google+ API deprecation?

I'm using the Google People API to get user account info (only for the user who authorized via gmail sign in using the Gmail API) from a Node JS client. I want to make sure that the people.get method I use won't be affected by the shutdown of…
jules
  • 53
  • 2
5
votes
0 answers

Other contacts for People API

As well explained in this SO thread it is not possible to fetch "Other Contacts" with People API. I would like to know if Google is planning on doing that or not at all? Since Go for example has no support for Contacts API but only People API, it…
mattdelaf
  • 51
  • 4
5
votes
0 answers

How to get user phone number in google login api?

Here is my code: $client = new Google_Client(); $client->setClientId($client_id); $client->setClientSecret($client_secret); $client->setRedirectUri($redirect_uri); $client->addScope("email"); $client->addScope("profile"); $service = new…
Martin AJ
  • 6,261
  • 8
  • 53
  • 111
5
votes
1 answer

Google People API notes

In Google's People API, is it possible to access/change contact's notes? Person definition When a contact is created https://contacts.google.com/, it is possible to set the field "Notes", that's what I'm looking for. As of now, I'm using the…
Miguel
  • 53
  • 5
5
votes
3 answers

Cannot update photos with Google People API

https://developers.google.com/people/api/rest/v1/people/updateContact Here's the wiki on update contact using People API. The update works for fields like 'emailAddresses'. But 'coverPhotos' or 'photos' are not listed as valid value for…
potatola
  • 61
  • 7
5
votes
4 answers

Google People API "Request mask cannot be empty"

I'm attempting to make a request for the profile information of a user logged in via Google OAuth. My request is formed properly, I log in successfully, but when I attempt to make the following request in PHP, I get the error Request Mask cannot be…
Danny Bullis
  • 3,043
  • 2
  • 29
  • 35
5
votes
2 answers

People API of google versus contacts API

While trying to fetch contacts using google account of user , I am facing some issues after using people API.It only returns few email addresses out of all listed ones.Access token and all scopes have been set correctly. Code for following : People…
4
votes
2 answers

Is there any way to get Google People API resource ID from Google Contacts contact Id?

We store the user's contactId in our database and use it to fetch/edit/delete contacts when the user requests from our app. Now that Google Contacts API is to be sunset, we need to call Google People API for these actions using resource id. Is there…
Ranjani
  • 1,015
  • 1
  • 9
  • 15
4
votes
0 answers

Google People API detect merged contacts with syncToken - previousResourceNames not included

I am using the people API to allow users to create entities in my system from their google contacts, via the people API, and am storing the resourceName (i.e 'people/c7760106965272617307') to keep track of the google contact the entity was created…
Gunner
  • 907
  • 2
  • 9
  • 17
4
votes
2 answers

People.Connections.List nextSyncToken expires after one week

I am working on an contact sync solution to be able to keep the contacts in our app in sync with the google contacts of the user. Our code uses the php library for the google people api latest Version (v1). Everything is working fine for one week…
1
2
3
35 36