title: fetch Youtube subscribers count by JSON API in PHP
body: <p>i want to get the subscriber count value from this JSON file: <a href="http://gdata.youtube.com/feeds/api/users/googlechrome?v=2&amp;alt=json" rel="nofollow">http://gdata.youtube.com/feeds/api/users/googlechrome?v=2&amp;alt=json</a></p>
  
  <p>This is what i did but it's not working.</p>
  
  <pre><code>$youtube_url = json_decode( file_get_contents( 'http://gdata.youtube.com/feeds/api/users/googlechrome?v=2&amp;alt=json' ), true );
  $youtube_data = $youtube_url['entry']['yt$statistics']['subscriberCount'];
  </code></pre>