<?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 Creating temporary links for a slideshow (one device) in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Creating-temporary-links-for-a-slideshow-one-device/m-p/202992#M9672</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I own a website where people can create a real-time slideshow from various social providers such as Instagram, Twitter, Facebook, etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've received a couple of requests where people want to be able to display photos from a Dropbox folder, so I've been researching the Dropbox API to see what options I have.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I understand that Dropbox should not be used as a CDN to serve files to hundrends or millions of people, but in my case a slideshow is usually running on a single device, so I feel like the temporary link might be a good option.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now straight to my question. I call&amp;nbsp;list_folder to retrieve all the files in the app folder. For each file I'll need to call get_temporary_link to get a direct link to the file. Now if the directory has 100 files, then it means that I'll have to make 100 calls to the Dropbox API in order to get temporary link for all the&amp;nbsp;files. I'm very concerned with the API rate limit as this might easily surpass it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This probably means that I need to re-think my strategy.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here are some ideas that I have:&lt;/P&gt;&lt;P&gt;1. Call get_temporary_link on demand. The slideshow javascript will call an endpoint on my website where it requests for a direct link to the picture. My endpoint then calls the Dropbox API get_temporary_link and returns it to the slideshow.&lt;/P&gt;&lt;P&gt;2. Somehow serve the file from Dropbox through my website. Not quite sure how I would tackle this.&lt;/P&gt;&lt;P&gt;3. ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help&amp;nbsp;on this will be highly apprecicated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2019 09:26:35 GMT</pubDate>
    <dc:creator>raRaRa</dc:creator>
    <dc:date>2019-05-29T09:26:35Z</dc:date>
    <item>
      <title>Creating temporary links for a slideshow (one device)</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Creating-temporary-links-for-a-slideshow-one-device/m-p/202992#M9672</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I own a website where people can create a real-time slideshow from various social providers such as Instagram, Twitter, Facebook, etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've received a couple of requests where people want to be able to display photos from a Dropbox folder, so I've been researching the Dropbox API to see what options I have.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I understand that Dropbox should not be used as a CDN to serve files to hundrends or millions of people, but in my case a slideshow is usually running on a single device, so I feel like the temporary link might be a good option.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now straight to my question. I call&amp;nbsp;list_folder to retrieve all the files in the app folder. For each file I'll need to call get_temporary_link to get a direct link to the file. Now if the directory has 100 files, then it means that I'll have to make 100 calls to the Dropbox API in order to get temporary link for all the&amp;nbsp;files. I'm very concerned with the API rate limit as this might easily surpass it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This probably means that I need to re-think my strategy.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here are some ideas that I have:&lt;/P&gt;&lt;P&gt;1. Call get_temporary_link on demand. The slideshow javascript will call an endpoint on my website where it requests for a direct link to the picture. My endpoint then calls the Dropbox API get_temporary_link and returns it to the slideshow.&lt;/P&gt;&lt;P&gt;2. Somehow serve the file from Dropbox through my website. Not quite sure how I would tackle this.&lt;/P&gt;&lt;P&gt;3. ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help&amp;nbsp;on this will be highly apprecicated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:26:35 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Creating-temporary-links-for-a-slideshow-one-device/m-p/202992#M9672</guid>
      <dc:creator>raRaRa</dc:creator>
      <dc:date>2019-05-29T09:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: Creating temporary links for a slideshow (one device)</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Creating-temporary-links-for-a-slideshow-one-device/m-p/203004#M9675</link>
      <description>&lt;P&gt;The&amp;nbsp;Dropbox API rate limiting system is actually relatively generous. We don't have any specific numbers documented, but making 100 calls shouldn't be an issue.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Alternatively, you can download the files directly from the&amp;nbsp;Dropbox API, e.g., using &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-download" target="_self"&gt;/2/files/download&lt;/A&gt;&amp;nbsp;or &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-get_thumbnail" target="_self"&gt;/2/files/get_thumbnail&lt;/A&gt;, and then cache and serve them from your app. You would still need one call per file though.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2017 00:23:08 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Creating-temporary-links-for-a-slideshow-one-device/m-p/203004#M9675</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-01-20T00:23:08Z</dc:date>
    </item>
    <item>
      <title>Re: Creating temporary links for a slideshow (one device)</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Creating-temporary-links-for-a-slideshow-one-device/m-p/203056#M9679</link>
      <description>&lt;P&gt;Thank you Greg. Much appreciated.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2017 11:56:05 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Creating-temporary-links-for-a-slideshow-one-device/m-p/203056#M9679</guid>
      <dc:creator>raRaRa</dc:creator>
      <dc:date>2017-01-20T11:56:05Z</dc:date>
    </item>
  </channel>
</rss>

