Can't update photos using Google People API

https://developers.google.com/people/api/rest/v1/people/updateContact

Here's a wiki on contact updates using the People API. The update works for fields such as "emailAddresses". But "coverPhotos" or "photos" are not specified as a valid value for "updatePersonFields" and I get a 400 return code if I try to update them.

Modifies the photos of a contact supported by this API? Or is there any other API that does the job?

+4


source to share


2 answers


You cannot update photos at this time, there will be support for updating photos in the future. Now you need to use the old Contacts API to update your photos .



Cover image is only supported for profiles (this is a large background image in G +), so there is no way to set cover on a pin.

+1


source


From mid-July 2019, it is FINALLY possible to update a contact photo using the People API: https://developers.google.com/people/api/rest/v1/people/updateContactPhoto



0


source







All Articles