Reputation: 757
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
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
Reputation: 4132
I believe you can check the video/channel webpage source code and extract the relevant information.
Upvotes: 0