<?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 Using Dropbox to automatically upload images to a website. in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Using-Dropbox-to-automatically-upload-images-to-a-website/m-p/8368#M358</link>
    <description>&lt;P&gt;Hello, I am very new at Dropbox API development and i require some help. I am currently building a website for a colleague, and they would like to be able to upload new files to the website automatically without having to contact one of webmasters. I am thinking it would be possible to use the Dropbox API or the Dropbox Chooser, so that the user can put files in a Dropbox and they would be automatically uploaded to the website. However I have never done any development with Dropbox API or Chooser before, and I am at a loss for if this is possible or how to accomplish it. Any help or pointers in the right direction would be greatly appreciated. Thank you very much. &lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2019 09:41:34 GMT</pubDate>
    <dc:creator>Nico W.2</dc:creator>
    <dc:date>2019-05-29T09:41:34Z</dc:date>
    <item>
      <title>Using Dropbox to automatically upload images to a website.</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Using-Dropbox-to-automatically-upload-images-to-a-website/m-p/8368#M358</link>
      <description>&lt;P&gt;Hello, I am very new at Dropbox API development and i require some help. I am currently building a website for a colleague, and they would like to be able to upload new files to the website automatically without having to contact one of webmasters. I am thinking it would be possible to use the Dropbox API or the Dropbox Chooser, so that the user can put files in a Dropbox and they would be automatically uploaded to the website. However I have never done any development with Dropbox API or Chooser before, and I am at a loss for if this is possible or how to accomplish it. Any help or pointers in the right direction would be greatly appreciated. Thank you very much. &lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:41:34 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Using-Dropbox-to-automatically-upload-images-to-a-website/m-p/8368#M358</guid>
      <dc:creator>Nico W.2</dc:creator>
      <dc:date>2019-05-29T09:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: Using Dropbox to automatically upload images to a website.</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Using-Dropbox-to-automatically-upload-images-to-a-website/m-p/8369#M359</link>
      <description>&lt;P&gt;That certainly would be possible, using either the Core API or Chooser.&lt;/P&gt;

&lt;P&gt;If you want a more automatic flow, you can use the &lt;A href="https://www.dropbox.com/developers/core" rel="nofollow noreferrer"&gt;Core API&lt;/A&gt; . First, you'd need to &lt;A href="https://www.dropbox.com/developers/apps" rel="nofollow noreferrer"&gt;register an app&lt;/A&gt;. You can find information on the different permissions &lt;A href="https://www.dropbox.com/developers/reference/devguide#app-permissions" rel="nofollow noreferrer"&gt;here&lt;/A&gt;. For this, the app folder permission would likely be sufficient, unless you want the user to be able to specify a different folder.&lt;/P&gt;

&lt;P&gt;Then, you'll need to implement the app authorization flow. The &lt;A href="https://www.dropbox.com/developers/reference/oauthguide" rel="nofollow noreferrer"&gt;OAuth guide&lt;/A&gt; should be helpful there. We also highly recommend using one of the &lt;A href="https://www.dropbox.com/developers/core" rel="nofollow noreferrer"&gt;official SDKs&lt;/A&gt;, if possible, as they'll do most of the work for you. &lt;/P&gt;

&lt;P&gt;Once the user is linked to your app, your app can use the &lt;A href="https://www.dropbox.com/developers/core/docs#files-GET" rel="nofollow noreferrer"&gt;/files (GET)&lt;/A&gt; API call to access file content from the user's account.&lt;/P&gt;

&lt;P&gt;You can also use &lt;A href="https://www.dropbox.com/developers/webhooks/tutorial" rel="nofollow noreferrer"&gt;webooks&lt;/A&gt; to get low-latency notifications of changes to linked user accounts, so you would know when to download files. There's a sample app linked on that page that overlaps a bit in functionality here.&lt;/P&gt;

&lt;P&gt;Alternatively, you could use the &lt;A href="https://www.dropbox.com/developers/dropins/chooser/js" rel="nofollow noreferrer"&gt;Chooser&lt;/A&gt;, but it would require a bit more manual intervention from the user. That is, they would need to go to the website, trigger the Chooser, and select the file(s) to send. (As opposed to the Core API implementation above, where the user would just need to drop files into the app's folder on any linked device, which could even be automated.) Using the Chooser would likely be easier to develop though.&lt;/P&gt;

&lt;P&gt;If you did go the Chooser route though, the basic idea would be to use the "direct" link type, and send that link to your server, where you could make a network request to download the file from the link.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jul 2015 05:07:35 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Using-Dropbox-to-automatically-upload-images-to-a-website/m-p/8369#M359</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2015-07-03T05:07:35Z</dc:date>
    </item>
  </channel>
</rss>

