Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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 'updatePersonFields' and I get return code 400 if I try to update them.

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

like image 260
potatola Avatar asked Oct 30 '22 04:10

potatola


1 Answers

Currently you cannot update photos, there will be support for updating photos coming in the future. For now you'll need to use the old Contacts API to update photos.

The cover photo is only supported for profiles (it's the big background image in G+), so there isn't any way to set a cover photo on a contact.

like image 50
Amos Yuen Avatar answered Nov 13 '22 02:11

Amos Yuen