-1
ためnextpagetoken実装する方法を、私は以下のコードを試してみました。は、ユーチューブのAPI
ためnextpagetoken実装する方法を、私は以下のコードを試してみました。は、ユーチューブのAPI
pageTokenパラメータにnextPageTokenを配置します。また、
// checking if nextPageToken exist than return our function and
// insert $next_page_token with value inside nextPageToken
if(isset($searchResponse['nextPageToken'])){
// return to our function and loop again
return youtube_search($query, $max_results, $searchResponse['nextPageToken']);
}
追加の参考のためにthis postをチェック:あなたは、実際のコードサンプルのため、このSO postを確認することができます。
Mamはコードを投稿してください。ありがとう –
このmamを試しましたかhttps://stackoverflow.com/questions/20727560/retrieve-all-playlist-entry-youtube-api-v3-using-pagetoken? –
私は試しましたが、私はjsonに新しいです、解決策を見つけるのを助けてください –