title: Google Tasks API - getNextPageToken always return null
body: <p>I have ~200 tasks in my gmail account. I am using the Google Tasks API (<a href="https://developers.google.com/google-apps/tasks/v1/reference/tasks/list" rel="nofollow">https://developers.google.com/google-apps/tasks/v1/reference/tasks/list</a>)</p>
  
  <p>The api only returns the first 100 tasks. According to the documentation,  getNextPageToken() should return the nextpagetoken. However, it always return null even I have more than 100 tasks.</p>
  
  <p>Here is the code for reference:</p>
  
  <pre class="lang-java prettyprint-override"><code>Tasks tasks_result = client.tasks().list(strList).setFields("items(completed,due,id,notes,status,title,updated)").execute();
  
  Tasks  tasks =  tasks_result.getItems();
  String nextPageToken;
  do 
    {
  
    for (Task task : tasks) {
     ......
   }
  
  nextPageToken = tasks_result.getNextPageToken();    &lt;===== It always return null, WHY?????
  } while (nextPageToken!=null);
  </code></pre>
  
  <p>Please help.</p>