title: Youtube api not working in codeigniter
body: <p>I have created project on <a href="https://developers.google.com/" rel="nofollow">https://developers.google.com/</a> and I have an apikey with type server and by using it with YouTube api v3.0 as here</p>
  
  <pre><code>$params['apikey'] = 'api-key-here';
  $this-&gt;load-&gt;library('youtube', $params);
  $feed = $this-&gt;youtube-&gt;getMostViewedVideoFeed(array('max-results' =&gt; 30));
  print_r($feed);
  </code></pre>
  
  <p>But when I run this code it will returning blank. blank screen.
  So what is the solution for that. I have tested in localhost.</p>