title: How to fetch user's profile photo from Google (and not from Google+)?
body: <p>Using the <code>Google+</code> api I am able to fetch all the information about user profile and the way I'm doing it is by calling a <code>GET</code> on the following address:</p>
  
  <pre><code>https://www.googleapis.com/plus/v1/people/11812536713708...432
  ?key=AIzaSyC_bs...gds353le
  </code></pre>
  
  <p>Here I'm putting user profile id (google id of the user) and my api key. </p>
  
  <p>Now there are two cases:</p>
  
  <p>1) user set up a google+ profile before and then I'm getting a json file with all necessary data (such as his profile photo, name, etc.)</p>
  
  <p>2) user didn't set up a google+ profile before and then I'm getting json file as follows:</p>
  
  <pre><code>{
   "error": {
    "errors": [
     {
      "domain": "global",
      "reason": "notFound",
      "message": "Not Found"
     }
    ],
    "code": 404,
    "message": "Not Found"
   }
  }
  </code></pre>
  
  <p>So in a situation when user doesn't have a google+ account currently I'm unable to fetch his photo. Is there a way of obeying it and somehow fetching his profile details not from google+?</p>
  
  <p>In my ios app I'm using a google sign in feature and they provide a possibility of fetching data for the signed in user (here are some details <a href="https://developers.google.com/identity/sign-in/ios/people#retrieving_user_information" rel="nofollow">https://developers.google.com/identity/sign-in/ios/people#retrieving_user_information</a> ) and when I use it and log in to my app with the account that does not have the google+ activated, I'm still able to fetch that user's name, photo, etc. It does not come from google+, in this case it comes from the GIDGoogleUser object. But I can construct this object only when user provides me his username and password. </p>
  
  <p>So is there a way of fetching that data from any Google Api by providing a google user id and api key?</p>