google-people

Does Google People API support ability to query

房东的猫 提交于 2019-12-04 10:15:22
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 Google People API currently does not support doing such a query. That functionality is one of the feature requests. 来源: https://stackoverflow.com/questions/41840383/does-google-people-api-support-ability-to-query

Deprecated Plus.PeopleApi.load

 ̄綄美尐妖づ 提交于 2019-12-04 05:51:37
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 says: If your app needs social information and more extensive profile data, check out the Android Contacts Provider or the cross-platform People API. So I should go with Android Contacts Provider that seems to be a hard alternative (Because I have to filter contacts with cursors and also manage Runtime Permissions). Any easy alternatives of previous

connect html button to access google's people API

故事扮演 提交于 2019-12-02 10:03:15
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 will be much appreciated. <button id="google-button" onclick="return auth()" style="color:white

Can't access my profile data when accessing google-people API

瘦欲@ 提交于 2019-12-01 12:50:18
I want to implement Google Oauth2 on my project. My main goals are accessing the google-people API in order to display profile information, and google drive. Because I'm new with this, I activated several APIs and -most of the times- succeeded in getting info. Only the People API is causing me problems, and I don't get why. Here is what I'm doing (I'm skipping all the login part). Defining the scopes: $client->addScope("https://www.googleapis.com/auth/drive"); $client->addScope("https://www.googleapis.com/auth/youtube"); $client->addScope("https://www.googleapis.com/auth/contacts"); // this is

Can't access my profile data when accessing google-people API

拜拜、爱过 提交于 2019-12-01 11:54:11
问题 I want to implement Google Oauth2 on my project. My main goals are accessing the google-people API in order to display profile information, and google drive. Because I'm new with this, I activated several APIs and -most of the times- succeeded in getting info. Only the People API is causing me problems, and I don't get why. Here is what I'm doing (I'm skipping all the login part). Defining the scopes: $client->addScope("https://www.googleapis.com/auth/drive"); $client->addScope("https://www

Why can't I retrieve emails addresses and phone numbers with Google People API?

蹲街弑〆低调 提交于 2019-11-30 07:27:36
I want to retrieve my contacts names, email address and phone numbers using the Google People API and I'm using their Try it! tool to test the API. The names are being retrieved but not the emails addresses and phone numbers . I think I'm doing everything correctly. I'm properly authenticated with the proper scopes and selected fields. Am I doing something wrong? Or maybe this is an issue on Google's side? nunoarruda I have found a solution . According to the Google People API docs omitting this RequestMask field will include all fields but that's not happening. In my case setting the

GoogleSignInResult returns DEVELOPER_ERROR in Android app when requesting server auth code

浪子不回头ぞ 提交于 2019-11-30 05:39:53
问题 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 GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN) .requestEmail() .requestScopes(new Scope(Scopes.PLUS_LOGIN), new Scope(PeopleScopes.CONTACTS_READONLY), new Scope(PeopleScopes.USER_PHONENUMBERS_READ)) .requestServerAuthCode(getString(R.string.google_oauth_client

Gender via Google People API

╄→гoц情女王★ 提交于 2019-11-29 12:25:49
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. Is there a way to get private gender via any combination of Google API and scope? Thank you Sorry,

Why can't I retrieve emails addresses and phone numbers with Google People API?

…衆ロ難τιáo~ 提交于 2019-11-29 10:36:56
问题 I want to retrieve my contacts names, email address and phone numbers using the Google People API and I'm using their Try it! tool to test the API. The names are being retrieved but not the emails addresses and phone numbers . I think I'm doing everything correctly. I'm properly authenticated with the proper scopes and selected fields. Am I doing something wrong? Or maybe this is an issue on Google's side? 回答1: I have found a solution. According to the Google People API docs omitting this

Google Contacts API vs People API

好久不见. 提交于 2019-11-26 19:09:48
I'm having a problem with the 2 APIs above. Given the next scenario: I have 2 different google accounts. One that doesn't use Google+ and a second account that uses Google+ When using Contacts API on the first account that doesn't use Google+ I can see all my contacts: GET /m8/feeds/contacts/<email>/full Same for the second account that uses Google+. When I'm using People API for the first account that doesn't use Google+, I'm getting an empty response (actually I'm getting just the next sync token: GET https://people.googleapis.com/v1/people/me/connections With the next scope: https://www