title: Google Plus API people list return nothing on server after login in client
body: <p>I have a web client that signin in Google and send oauthtoken to the server:</p>
  
  <pre><code>//Api google plus
      (function() {
          var po = document.createElement('script'); 
          po.type = 'text/javascript'; 
          po.async = true;
          po.src = 'https://apis.google.com/js/client.js?onload=onLoadCallback';
          var s = document.getElementsByTagName('script')[0]; 
          s.parentNode.insertBefore(po, s);
      })();
  
      function onLoadCallback(){
          gapi.client.setApiKey('AIzaSyBXXXXXX'); //set your API KEY
          gapi.client.load('plus', 'v1',function(){});//Load Google + API
      }
  
      $scope.loginGooglePlus = function() {
        var myParams = {
          'clientid' : 'XXXXXXX',
          'cookiepolicy' : 'single_host_origin',
          'callback': $scope.loginGooglePlusCallback,
          'scope': 'https://www.googleapis.com/auth/plus.login https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/plus.me'
        };
        gapi.auth.signIn(myParams);
      }
  
      $scope.loginGooglePlusCallback = function(result){
          if(result['status']['signed_in']){ 
              //alert("Login Success");
              console.log(result);
              UserAuth.loginGooglePlus(result.access_token);
          }   
      }
  </code></pre>
  
  <p>So, on server I try to get the people friend list thus:</p>
  
  <pre><code>String graphFace = "https://www.googleapis.com/plus/v1/people/me/people/visible?key=XXXXXXXXXXXXXXX&amp;access_token=" + oauthToken;
  
                  urlAccess = new URL(graphFace);
                  URLConnection faceConnection = urlAccess.openConnection();
                  faceConnection.setRequestProperty("Content-Type", "application/json;charset=utf-8;");
  
                  BufferedReader in = new BufferedReader( new InputStreamReader(faceConnection.getInputStream()));
  
                  String fileJson = "", strJson = "";
                  while ((strJson = in.readLine()) != null)
                      fileJson = fileJson + strJson + "\n";
  
                  createFriendTopologyFromGoogle(person, fileJson);
  </code></pre>
  
  <p>The people list always comes empty. But if I do the same command in API Explorer (<a href="https://developers.google.com/apis-explorer/#p/plus/v1/plus.people.list" rel="nofollow">https://developers.google.com/apis-explorer/#p/plus/v1/plus.people.list</a>) all works fine.</p>
  
  <p>Do This command people list only works on client?</p>