I have a PDF that I’ve uploaded to Google Docs using the gdata library in Python, and I can retrieve the link to the document with the following command:
>>> e.GetAlternateLink().href
Out[14]: 'http://docs.google.com/a/my.dom.ain/fileview?id=<very-long-doc-id>&hl=en'
However, the issue I’m facing is that when I try to use this link in an IFRAME, it redirects back to itself, causing it to escape the IFRAME. I came across a helpful resource about embedding Google document viewers, but I’m uncertain how to apply this method to a document that’s stored in Google Docs. Can anyone guide me on whether this is possible?