php - Get list of youtube playlists including unlisted -


i using v3 of youtube api , trying list of channel's playlists.

it's working, returns playlists have status.privacystatus of public.

how can retrieve playlists unlisted?

this call using.

public function getplaylists($channelid) {     $this->_quotaconsumed += 3;     return $this->getservice()         ->playlists         ->listplaylists('id,snippet,status', array(             'channelid'  => $channelid,             'maxresults' => 50,         )); } 

i using oauth service account.

the youtube api v3 not support oauth service accounts, call retrieving public access data. retrieve things such private or unlisted data, you'll have set regular oauth flow, authenticate traditional token exchange, , call "mine" parameter set true.


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -