title: retrieve all playlist entry Youtube API V3 using pageToken
body: <p>So I have the function that will retrieve all playlist entries from the ZEND Gdata API.
  Now, I just try to add 'getNextFeed()' but the V3 uses 'pageToken' to display the next entries.
  The problem I am having is how to retrieve the 'nextPage' on my code and implement it.
  I know the logic is to get 'nextPageToken' and put it into the loop, but I do not know how.
  Sorry, I am new to JSON.</p>
  
  <pre><code>&lt;?php
  $client = new Google_Client();
    $client-&gt;setDeveloperKey($DEVELOPER_KEY);
  
    $youtube = new Google_YoutubeService($client);
  
    try {
      $searchResponse = $youtube-&gt;playlistItems-&gt;listPlaylistItems('id,snippet', array(
        'playlistId' =&gt; $_GET['q'],
        'maxResults' =&gt; $_GET['maxResults']
      ));
  
      foreach ($searchResponse['items'] as $searchResult) {
              $videoId = $searchResult['snippet']['resourceId']['videoId'];
              $videoTitle = $searchResult['snippet']['title'];
              $videoThumb = $searchResult['snippet']['thumbnails']['high']['url'];
              $videoDesc = $searchResult['snippet']['description'];
              print '&lt;div&gt;'.
                          $videoTitle.'&lt;br/&gt;&lt;br/&gt;&lt;img src="'.
                          $videoThumb.'" /&gt;&lt;br/&gt;'.
                          $videoId.'&lt;br/&gt;'.
                          $videoDesc.'&lt;br/&gt;'.
                          '&lt;/div&gt;&lt;br/&gt;&lt;br/&gt;';
      }
    } catch (Google_ServiceException $e) {
      return;
    } catch (Google_Exception $e) {
      return;
    }
  }
  
  ?&gt;
  </code></pre>