0

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)...

VCNinc
  • 747
  • 1
  • 9
  • 25

2 Answers2

1

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?

Community
  • 1
  • 1
Zy0n
  • 810
  • 2
  • 14
  • 33
0

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

DrXCheng
  • 3,992
  • 11
  • 49
  • 72