google-people

Google People API - query parameter 'deleteContacts' not working

|▌冷眼眸甩不掉的悲伤 提交于 2020-02-06 08:50:27
问题 There is documented optional query parameter 'deleteContacts' here: https://developers.google.com/people/api/rest/v1/contactGroups/delete It is not working. I have group with two contacts on my test account. I deleted this group with parameter 'deleteContacts' set to true. Group got deleted but contacts remained. I tried official python api client and API explorer found on the documentation page and the results are the same. Any ideas? 回答1: The fix should be live now. Please try again. 来源:

How to uniquely identity a Person resource in Google People API response from a particular user?

只愿长相守 提交于 2020-01-24 09:07:05
问题 Google People API , unlike Google Plus API doesn't provide an unique id for each Person resource in the response. Why has this been deprecated/removed and how to uniquely identify a Person in an user's contacts list without an id ? 回答1: In short, use resourceName as an ID. The Google People API is the user's list of contacts and have IDs specific to the user. They can create contacts that only have a mailing address or only have a name and no contact info. There is no way for Google to

Gender via Google People API

て烟熏妆下的殇ゞ 提交于 2020-01-10 04:20:10
问题 Using Google People API, I'm having problems getting information about gender via https://people.googleapis.com/v1/people/me and correct access_token (it is correct because it influences whether information like nickname and locale appear). I am asking for scope "profile email openid". I can get a gender, but only for users who made that information public, but not from those who do have it filled, but set as private, which kind of defeats the purpose of asking for private profile information

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

别来无恙 提交于 2020-01-02 05:21:12
问题 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 Google+ and it's APIs. This is an excerpt from the email that Google sent on 12/20/18 notifying developers of the shutdown: "Note: If you see calls to people.get, these can be the result of using the Google+ Sign-In feature in your application, which is

How do you get from Person to ContactEntry

半城伤御伤魂 提交于 2019-12-25 04:14:08
问题 As far as I know it is not possible (yet) to update photos linked to Person (People API), and it is advised to achieve this using the Contact API. But how does one get from Person to ContactEntry? I tried to concatenate Person's resourceName to "https://www.google.com/m8/feeds/contacts/default/full/" but I am getting "ResourceNotFoundException" errors. 回答1: When you get a person with a contact in them, the person will look like: { metadata: { sources: [ { type: PROFILE, id: "12345678" }, {

Error: invalid_scope - This app hasn't been verified to access

安稳与你 提交于 2019-12-24 00:47:07
问题 Has anyone experienced this error before? I have been researching, testing, and banging my head to get this error to go away but nothing seems to work. This is a similar question to the following posts: Error: invalid_scope google read contact Google Api:: Error: invalid_scope 403 error when calling Google People API Unfortunately, these posts never were resolved or aren't helpful. What is puzzling is, i'm following the examples listed here: https://developers.google.com/api-client-library

Do the Google+ profile picture URLs returned by the Google API change?

允我心安 提交于 2019-12-23 07:41:30
问题 So, I'm using the Google API to fetch people's profile picture using their user_id. The Google API returns a JSON like following: { image: { url: "https://lh5.googleusercontent.com/OGjgCn9fCPk/AAAAAAAAAAI/AAAAAAAAASU/AitRTc5cUyg/photo.jpg?sz=50", isDefault: false } } My question is, does this URL change? I mean will it change if the user changes their profile picture or if some CDN restructuring occurs. Do I need to fetch it every time? Or can I just save and use it forever? If not is their

Cannot update photos with Google People API

巧了我就是萌 提交于 2019-12-22 08:11:54
问题 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? 回答1: Currently you cannot update photos, there will be support for updating photos

Can't read phone numbers from user's google profile using - auth/user.phonenumbers.read scope

大憨熊 提交于 2019-12-22 00:39:36
问题 Based on the documentation of Google People API I am using profile scope - https://www.googleapis.com/auth/user.phonenumbers.read and PersonFields=phoneNumbers to read the authenticated user's phone numbers only in their Google profile (none from the contact list). I am using API key and oAuth accesstoken to authorise the request. The google people API is not fetching the phone numbers associated with the profile with the above scope alone. Adding the scope for the entire contact list read

connect html button to access google's people API

依然范特西╮ 提交于 2019-12-20 07:24:14
问题 I have a button in my HTML body, which is supposed to load a user's google contacts when a user clicks the button. I've registered for the required credentials and authorization via Google Cloud Platform, but for some reason, the javascript code I have is not working and clicking the button in demo mode in Visual studio does not open a new window asking me to login into my gmail account, permission for the website to access my contacts, etc. Any help in getting the API to work on my website