title: Sign in via Google Plus APIs
body: <p>I am trying to collect data of my user while he signs up for my website.</p>
  
  <p>I am asking for the following scopes while making a request </p>
  
  <pre><code>&lt;span id="signinButton"&gt;
    &lt;span
      class="g-signin"
      data-callback="signinCallback"
      data-clientid="1085488274737.apps.googleusercontent.com"
      data-cookiepolicy="single_host_origin"
      data-requestvisibleactions="http://schemas.google.com/AddActivity"
      data-scope="https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/plus.login"&gt;
    &lt;/span&gt;
  &lt;/span&gt; 
  </code></pre>
  
  <p>Then I am first trying to get the email ID and google plus ID of the user by making a GET request to <code>https://www.googleapis.com/oauth2/v1/userinfo?access_token=</code> with the access token obtained in the previous step. This works perfectly fine. It gives me ID and email of user.</p>
  
  <p>However, if I am using that ID obtained and the access token to get the further profile details and the friends in his circle, it is not working. </p>
  
  <pre><code>https://www.googleapis.com/plus/v1/people/userID/?key=
  </code></pre>
  
  <p>It says invalid key Invalid.</p>
  
  <p>I am totally clueless because of this . Is there any error in mentioning the data-scope ?</p>