<?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: File upload in Discuss Dropbox Developer &amp; API</title>
    <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/File-upload/m-p/741223#M3843</link>
    <description>&lt;P&gt;Dropbox does offer an API you can use for listing, uploading, and downloading files, among other operations. You can find everything you need to get started with &lt;A href="https://www.dropbox.com/developers" target="_blank"&gt;the Dropbox API, including documentation, tutorials, and SDKs here&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Dropbox issues short-lived access tokens, which expire after a few hours. Apps can get long-term access by requesting "offline" access though, in which case the app receives a "refresh token" that can be used to retrieve new short-lived access tokens as needed, without further manual user intervention. Refresh tokens do not expire automatically and can be used repeatedly. You can find more information in the &lt;A href="https://developers.dropbox.com/oauth-guide" target="_blank" rel="noopener noreferrer"&gt;OAuth Guide&lt;/A&gt; and &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#authorization" target="_blank" rel="noopener noreferrer"&gt;authorization documentation&lt;/A&gt;. There's a basic outline of processing this flow in &lt;A href="https://dropbox.tech/developers/using-oauth-2-0-with-offline-access" target="_blank" rel="noopener noreferrer"&gt;this blog post&lt;/A&gt; which may serve as a useful example.&lt;/P&gt;</description>
    <pubDate>Thu, 04 Jan 2024 21:22:37 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2024-01-04T21:22:37Z</dc:date>
    <item>
      <title>File upload</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/File-upload/m-p/741203#M3842</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi guys.&lt;BR /&gt;I'm creating a React app. I'm planning to save files uploaded by the user in my Dropbox. Is it possible through the API?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;By the way, I tried using an access token generated from the Dropbox site, and it is working fine. However, after a couple of hours, the token expires, so I need to generate it again and update the code. Is there any solution using any of the Dropbox API?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2024 20:51:07 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/File-upload/m-p/741203#M3842</guid>
      <dc:creator>MLPDev</dc:creator>
      <dc:date>2024-01-04T20:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: File upload</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/File-upload/m-p/741223#M3843</link>
      <description>&lt;P&gt;Dropbox does offer an API you can use for listing, uploading, and downloading files, among other operations. You can find everything you need to get started with &lt;A href="https://www.dropbox.com/developers" target="_blank"&gt;the Dropbox API, including documentation, tutorials, and SDKs here&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Dropbox issues short-lived access tokens, which expire after a few hours. Apps can get long-term access by requesting "offline" access though, in which case the app receives a "refresh token" that can be used to retrieve new short-lived access tokens as needed, without further manual user intervention. Refresh tokens do not expire automatically and can be used repeatedly. You can find more information in the &lt;A href="https://developers.dropbox.com/oauth-guide" target="_blank" rel="noopener noreferrer"&gt;OAuth Guide&lt;/A&gt; and &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#authorization" target="_blank" rel="noopener noreferrer"&gt;authorization documentation&lt;/A&gt;. There's a basic outline of processing this flow in &lt;A href="https://dropbox.tech/developers/using-oauth-2-0-with-offline-access" target="_blank" rel="noopener noreferrer"&gt;this blog post&lt;/A&gt; which may serve as a useful example.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2024 21:22:37 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/File-upload/m-p/741223#M3843</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2024-01-04T21:22:37Z</dc:date>
    </item>
  </channel>
</rss>

