VCNinc
VCNinc

Reputation: 757

YouTube API - Find User's Partnership Network

I have setup the YouTube API to get various bits of information. For example, if I want a YouTube user's channel name, I have the code:

$channelsResponse = $youtube->channels->listChannels('snippet', array(
'mine' => 'true',
));
$_SESSION['channel'] = $channelsResponse['items'][0]['snippet']['title'];

So my question is: with my code setup like this, how can I get the YouTube Partnership network? For example, if the authenticated user is itsjerryandharry the program should tell me Maker Studios (or RPM or SocialBlade or whatever it's called now)...

Upvotes: 0

Views: 1160

Answers (2)

Zy0n
Zy0n

Reputation: 785

I had a similar issue when attempting to do this, but i managed to come up with this solution:

How to programmatically find out what channels are part of a given YouTube network?

Upvotes: 1

DrXCheng
DrXCheng

Reputation: 4132

I believe you can check the video/channel webpage source code and extract the relevant information.

Upvotes: 0

Related Questions