youtube api - Extracting channel subscribers for a content owner -
i want extract subscribers channels using content owner authorisation.
this query works of course returns subscribers cms account.
v3.channels().\ list(part=parts, mysubscribers=true, maxresults=50, pagetoken=nextpagetoken, onbehalfofcontentowner=partner_code).execute() using youtube api documentation listing subscriptions reference, doesn't seem possible.
this surprises me. missing something?
this code in java api worked me:
youtube .subscriptions() .list("subscribersnippet") .setmysubscribers(true) .setonbehalfofcontentowner(content_owner_id) .setonbehalfofcontentownerchannel(channel_id) .setoauthtoken(your_access_token).execute();
Comments
Post a Comment