<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to show in-browser view of a file (i.e. jpg or PDF) in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-show-in-browser-view-of-a-file-i-e-jpg-or-PDF/m-p/194955#M8851</link>
    <description>&lt;P&gt;Thanks Greg.&amp;nbsp; In v1 of the API we could get a temporary shared link (lasting four hours) and use that with a slight tweak to show the file in the browser.&amp;nbsp; Is there no equivalent feature, have we lost that capability, in v2?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In v2, the /create_shared_link_with_settings would be the correct end-point to get the URL for in-browser viewing, however it does not allow me to get an expiring link since our users usually have basic accounts.&amp;nbsp; So must I create a permanent shared link for every file the user views?&lt;/P&gt;</description>
    <pubDate>Sat, 19 Nov 2016 02:27:31 GMT</pubDate>
    <dc:creator>KennelLink</dc:creator>
    <dc:date>2016-11-19T02:27:31Z</dc:date>
    <item>
      <title>How to show in-browser view of a file (i.e. jpg or PDF)</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-show-in-browser-view-of-a-file-i-e-jpg-or-PDF/m-p/194220#M8757</link>
      <description>The URL from get_temporary_link() forces Firefox to initiate a download instead of an in-browser view of the file (which is what I want) and it is causing IE to just show a blank window. The create_shared_link does not allow an expiry for basic accounts, but I don't want to create a permanent share link for every file the user happens to view. How can I open a window in the browser that shows a file from the user's box? There seem to be two ways to display file: 1) using Dropbox's web view (given by create_shared_link) and 2) using the browser's native ability to show the file type. I want the ability to do both, but can't get either one working.</description>
      <pubDate>Wed, 29 May 2019 09:28:25 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-show-in-browser-view-of-a-file-i-e-jpg-or-PDF/m-p/194220#M8757</guid>
      <dc:creator>KennelLink</dc:creator>
      <dc:date>2019-05-29T09:28:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to show in-browser view of a file (i.e. jpg or PDF)</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-show-in-browser-view-of-a-file-i-e-jpg-or-PDF/m-p/194311#M8778</link>
      <description>The links returned by get_temporary_link aren't intended for being directly displayed in the browser unfortunately, but I'll be sure to pass this along as a feature request.</description>
      <pubDate>Mon, 14 Nov 2016 19:58:13 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-show-in-browser-view-of-a-file-i-e-jpg-or-PDF/m-p/194311#M8778</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-11-14T19:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to show in-browser view of a file (i.e. jpg or PDF)</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-show-in-browser-view-of-a-file-i-e-jpg-or-PDF/m-p/194955#M8851</link>
      <description>&lt;P&gt;Thanks Greg.&amp;nbsp; In v1 of the API we could get a temporary shared link (lasting four hours) and use that with a slight tweak to show the file in the browser.&amp;nbsp; Is there no equivalent feature, have we lost that capability, in v2?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In v2, the /create_shared_link_with_settings would be the correct end-point to get the URL for in-browser viewing, however it does not allow me to get an expiring link since our users usually have basic accounts.&amp;nbsp; So must I create a permanent shared link for every file the user views?&lt;/P&gt;</description>
      <pubDate>Sat, 19 Nov 2016 02:27:31 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-show-in-browser-view-of-a-file-i-e-jpg-or-PDF/m-p/194955#M8851</guid>
      <dc:creator>KennelLink</dc:creator>
      <dc:date>2016-11-19T02:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to show in-browser view of a file (i.e. jpg or PDF)</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-show-in-browser-view-of-a-file-i-e-jpg-or-PDF/m-p/195134#M8870</link>
      <description>&lt;P&gt;It sounds like you're referring to API v1's &lt;A href="https://www.dropbox.com/developers-v1/core/docs#media" target="_self"&gt;/media&lt;/A&gt;&amp;nbsp;endpoint. The API v2 equivalent is &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-get_temporary_link" target="_self"&gt;/files/get_temporary_link&lt;/A&gt;, but unfortunately it's not designed for displaying directly in the browser. Sorry I don't have a better answer for you!&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2016 19:26:21 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/How-to-show-in-browser-view-of-a-file-i-e-jpg-or-PDF/m-p/195134#M8870</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-11-21T19:26:21Z</dc:date>
    </item>
  </channel>
</rss>

