title: Is console.log the only option for api's that return with content
body: <p>I currently am using <a href="https://www.npmjs.com/package/vgd" rel="nofollow">https://www.npmjs.com/package/vgd</a> which seems to work fine... but will only work if I log to console, and i'm trying to make the link that it shortens return to an alert.</p>
  
  <p>Eg I want to use:</p>
  
  <pre><code>vgd.shorten('http://google.com', function(res) {
  this.reply(res); //Should reply a shorteneed version of google.com but gives me an error instead.
  });
  </code></pre>
  
  <p>But when I use the above code it does not work, on the other hand: When I use:</p>
  
  <pre><code>vgd.shorten('http://google.com', function(res) {
  console.log(res);
  });
  </code></pre>
  
  <p>It does work.</p>
  
  <p>Why does it do this? and how do I fix it?</p>
  
  <p>ERROR:</p>
  
  <pre><code>data:    index.js:8934 -     at /home/ubuntu/workspace/UU/commands/base-uu.js:25:9
  data:    index.js:8934 -     at Request._callback (/home/ubuntu/workspace/UU/node_modules/vgd/index.js:6:3)
  data:    index.js:8934 -     at Request.self.callback (/home/ubuntu/workspace/UU/node_modules/vgd/node_modules/request/request.js:198:22)
  data:    index.js:8934 -     at Request.emit (events.js:110:17)
  data:    index.js:8934 -     at Request.&lt;anonymous&gt; (/home/ubuntu/workspace/UU/node_modules/vgd/node_modules/request/request.js:1082:10)
  data:    index.js:8934 -     at Request.emit (events.js:129:20)
  data:    index.js:8934 -     at IncomingMessage.&lt;anonymous&gt; (/home/ubuntu/workspace/UU/node_modules/vgd/node_modules/request/request.js:1009:12)
  data:    index.js:8934 -     at IncomingMessage.emit (events.js:129:20)
  data:    index.js:8934 -     at _stream_readable.js:908:16
  data:    index.js:8934 -     at process._tickCallback (node.js:355:11)
  </code></pre>