title: How to use google documentviewer on website.(using a googleId url that points to a non public file)
body: <p><strong>I'm wondering how to view files using a url like this:</strong></p>
  
  <pre><code>  https://docs.google.com/a/myDomain/viewer
  </code></pre>
  
  <p>Ive been trying with this:</p>
  
  <pre><code>  http://docs.google.com/viewer?url=https%3A%2F%2Fdocs.google.com%2Fa%2FmyDomain%2Ffile%2Fd%2FgoogleId%2F
  </code></pre>
  
  <p>But I keep getting the viewer with some weird html in it.</p>
  
  <p><strong>Is there any way to make this kind of url using the id or the API?</strong></p>
  
  <p>How can I view a certain file using this kind of url. I also don't wan't to make it public.</p>
  
  <p>I've been using webContentLinks but that requires the pdf to be downloaded by adobe reader or another plugin. </p>