<?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: sharing url files using iframe in Discuss Dropbox Developer &amp; API</title>
    <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/sharing-url-files-using-iframe/m-p/475018#M1608</link>
    <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/10"&gt;@Greg-DB&lt;/a&gt;&lt;/P&gt;&lt;P&gt;Many thanks for your prompt response, much appreciated. I tried using the temporary link but with no success, the viewer keep showing me the loading page but the status never change. I guess I have to dig deeper to find out what is not working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just noted while using&amp;nbsp;files_get_temporary_link will generate a link with other metadata. Is there a direct method to only retrieve the temporary link as str?&lt;/P&gt;</description>
    <pubDate>Tue, 01 Dec 2020 22:08:37 GMT</pubDate>
    <dc:creator>arch2020</dc:creator>
    <dc:date>2020-12-01T22:08:37Z</dc:date>
    <item>
      <title>sharing url files using iframe</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/sharing-url-files-using-iframe/m-p/474995#M1604</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to access my files, through generating shared url, which I managed to do using python for my website. I am trying to implement an iframe 3d model viewer, which require a certain file with dxf or dwg extension, which typically generated from CAD file. However, when I provide the url and change the dl=1 or use raw=1, as shown below:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dropbox.com/s/example/skyline.dxf?dl=1" target="_blank" rel="noopener"&gt;https://www.dropbox.com/s/example/skyline.dxf?dl=1&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dropbox.com/s/example/skyline.dxf?raw=1" target="_blank" rel="noopener"&gt;https://www.dropbox.com/s/example/skyline.dxf?raw=1&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I also looked at the dropbox documents regarding to embedding files--that didn;t help me much because it uses dropbox to view the files. my iframe require using a certain viewer which only need direct access to the file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a better way to access and provide a driect link to the file, to view the model?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for feebacks in advance&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2020 12:29:06 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/sharing-url-files-using-iframe/m-p/474995#M1604</guid>
      <dc:creator>arch2020</dc:creator>
      <dc:date>2020-12-02T12:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: sharing url files using iframe</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/sharing-url-files-using-iframe/m-p/475000#M1605</link>
      <description>&lt;P&gt;Using the raw=1 parameter, as &lt;A href="https://help.dropbox.com/files-folders/share/force-download" target="_self"&gt;documented here&lt;/A&gt;, is the right way to get direct access to the file content from a shared link like this.&amp;nbsp;It sounds like that's not working for you though. Are you getting any particular error or unexpected output?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that the client will need to be able to follow redirects, so if your viewer doesn't support that, that may be the issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Alternatively, if temporary links would work for your use case, you could get temporary direct links (which don't require a redirect or URL parameter&amp;nbsp;modification) by calling&amp;nbsp;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-get_temporary_link" target="_self"&gt;/2/files/get_temporary_link&lt;/A&gt;, which is available as &lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/api/dropbox.html#dropbox.dropbox.Dropbox.files_get_temporary_link" target="_self"&gt;files_get_temporary_link&lt;/A&gt; in &lt;A href="https://github.com/dropbox/dropbox-sdk-python" target="_self"&gt;the official Dropbox Python SDK&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Dec 2020 21:10:26 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/sharing-url-files-using-iframe/m-p/475000#M1605</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-12-01T21:10:26Z</dc:date>
    </item>
    <item>
      <title>Re: sharing url files using iframe</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/sharing-url-files-using-iframe/m-p/475018#M1608</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/10"&gt;@Greg-DB&lt;/a&gt;&lt;/P&gt;&lt;P&gt;Many thanks for your prompt response, much appreciated. I tried using the temporary link but with no success, the viewer keep showing me the loading page but the status never change. I guess I have to dig deeper to find out what is not working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just noted while using&amp;nbsp;files_get_temporary_link will generate a link with other metadata. Is there a direct method to only retrieve the temporary link as str?&lt;/P&gt;</description>
      <pubDate>Tue, 01 Dec 2020 22:08:37 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/sharing-url-files-using-iframe/m-p/475018#M1608</guid>
      <dc:creator>arch2020</dc:creator>
      <dc:date>2020-12-01T22:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: sharing url files using iframe</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/sharing-url-files-using-iframe/m-p/475234#M1612</link>
      <description>&lt;P&gt;No, there isn't another call like that with a string returned directly. You should access the string in the returned&amp;nbsp;&lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/api/files.html#dropbox.files.GetTemporaryLinkResult.link" target="_blank"&gt;GetTemporaryLinkResult.link&lt;/A&gt;&amp;nbsp;field. Does accessing that field not work in your environment for some reason?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As for viewing the file itself, you may want to check the JavaScript console for the page where the viewer isn't successfully loading the file, in case there's some helpful error or output there.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2020 15:00:42 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/sharing-url-files-using-iframe/m-p/475234#M1612</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-12-02T15:00:42Z</dc:date>
    </item>
  </channel>
</rss>

