title: twitch.tv api- how to get logo of the streamer who is offline
body: <p>twitch tv - how to get logo of the streamer who is offline?
  For instance I can get logo link of the streamer like this(works only if the streamer online):</p>
  
  <pre><code>$(document).ready(function(){   
  getChannel("OgamingSC2");
  });
  
   function getChannel(name){
   $.getJSON("https://api.twitch.tv/kraken/streams/"+name+"?callback=?",
   operateResults);
  }
  
  function operateResults(data){
  console.log(data.stream.channel.logo)//logo   
  }
  </code></pre>
  
  <p>But if the streamer offline:</p>
  
  <pre><code>data.stream
  </code></pre>
  
  <p>will be equal to null.</p>
  
  <p>So how can I get the logo if the streamer offline?</p>