Questions tagged [google-profiles-api]

There is no google profiles api please see Google people api.

44 questions
17
votes
7 answers

GoogleSignInAccount getPhotoUrl() return null

Trying to get photo from signed in profile. But always return null. Name and email return values, trouble only with photo. GoogleSignInOptions gso = new GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN) .requestProfile() …
llaerto
  • 251
  • 1
  • 2
  • 11
5
votes
1 answer

List all Google Apps Profiles on PHP Site

I am trying to get a list of all Google Apps users of a domain onto a public PHP website (without visitors of the site needing to login or do anything). I have a basic understanding of what needs to happen but can't quite piece it all together. It…
RANGER
  • 1,643
  • 2
  • 17
  • 31
5
votes
2 answers

get profile picture from google plus

I have used google app engine with django application. I have been using the user api from google to login in my website and also getting the current user email address from that, but i have to get profile picture which is uploded on the google plus…
Jay Bhalodi
  • 387
  • 3
  • 19
4
votes
1 answer

How to get gender from GoogleSignInAccount (previous method is now deprecated)

Plus.PeopleApi.load(mGoogleApiClient, googleUser.getId()).setResultCallback(new ResultCallback() { @Override public void onResult(@NonNull People.LoadPeopleResult loadPeopleResult) { …
4
votes
0 answers

GoogleSignIn, Unable to detect if user has set any profile image or not

I am supposed to display an default image set by my app, in case no profile image has been set by the user. For which i need to detect whether user has set any profile image or not in his google account. Now, upon accessing profile image for a user…
Amit
  • 1,128
  • 6
  • 15
  • 29
3
votes
3 answers

Is it possible to get all users from the same Google Apps domain?

I need to implement the following scenario: A user signs in with his or her Google credentials. Thereafter my application checks whether or not this user is using Google Apps. If he or she is, my application reads all active users in the same…
3
votes
2 answers

Google Apps Profiles API: java.lang.NullPointerException: No authentication header information

public ContactFeed retrieveContacts(ContactsService service, Credential credential) throws Exception { URL url = new URL("https://www.google.com/m8/feeds/profiles/domain/my.domain.com/full"); …
lannyboy
  • 617
  • 1
  • 10
  • 20
2
votes
0 answers

How can I get birthday and phone number information from the Google API?

I can successfully get some Google profile information using the following code: googlePlusInit: function() { var googleUser = {}; gapi.load('auth2', function(){ // Retrieve the singleton for the GoogleAuth library and set up the…
2
votes
1 answer

Automatic Query |Author citations

Thanks for letting me ask my question here. Some background: In academia as in all fields of life, there are "superstars". Those superstars are widely recognized, and their publications often cited. The question I am asking myself is, are they often…
fußballball
  • 329
  • 1
  • 14
2
votes
1 answer

How do you add custom fields and website fields in the new Directory API?

In the Profiles Data API you could add custom fields via gContact:userDefinedField. You can also create website links (via gContact:website) which would display as clickable links in the Contacts Web UI. My question is how do you create custom…
Peter
  • 5,501
  • 2
  • 26
  • 42
2
votes
1 answer

How can I access the Google Contact 'File As' field programmatically via the API?

I desperately need to access this field in order to develop a Google Contacts sync tool that predominately utilizes the company name as the NAME or FILE AS field, NOT First/Last. I see it in the XML but no dice via the libraries. I'm using the .NET…
2
votes
1 answer

How do I grab the contact for a user in my Google Apps domain?

Here's the setup code (I'm using Powershell since it's usually convenient) $a1= Add-Type -Path "D:\Google2.1\Google.GData.Client.dll" -passthru $a2= Add-Type -Path "D:\Google2.1\Google.GData.Apps.dll" -passthru $a3= Add-Type -Path…
1
vote
1 answer

Account linking and google api

I've implemented the account linking in streamlined identity flow (https://developers.google.com/actions/identity/oauth2-assertion-flow) // Get the jwt token from the request $token = $this->jwt->parse($body['assertion']); if (null ===…
1
vote
1 answer

Acquire permissions to retrieve user profile info

I have this call (I removed error-handling for brevity's sake): chrome.identity.getAuthToken({interactive: true}, function (token) { let req = new XMLHttpRequest(); req.open('GET',…
1
vote
0 answers

Get com.google.gdata.util.ServiceForbiddenException after moving contact sync app to new machine

I have a Java application that uses the Google Contact API to sync contacts with a a local PDA application. It was working fine on my old machine, but after copying the source and everything (including client_secrets.json) to a new laptop, I now…
1
2 3