<?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 Java dropbox API permanent key in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Java-dropbox-API-permanent-key/m-p/139963#M4356</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I am for the first time trying to create a APP that will upload a backup file into dropbox and although I managed to get it to work with the code example provided here &lt;A href="https://www.dropbox.com/developers-v1/core/start/java" rel="nofollow noreferrer" target="_blank"&gt;https://www.dropbox.com/developers-v1/core/start/java&lt;/A&gt; the generated code only last for one run, next time it does not work anymore and I need to generate a new code.&lt;/P&gt;
&lt;P&gt;How do I get my app (JAVA) to only request approval for my APP once and then be able to always run the app and upload my backup file?&lt;/P&gt;
&lt;P&gt;Many Thanks&lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2019 09:35:46 GMT</pubDate>
    <dc:creator>Ricardo W.</dc:creator>
    <dc:date>2019-05-29T09:35:46Z</dc:date>
    <item>
      <title>Java dropbox API permanent key</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Java-dropbox-API-permanent-key/m-p/139963#M4356</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I am for the first time trying to create a APP that will upload a backup file into dropbox and although I managed to get it to work with the code example provided here &lt;A href="https://www.dropbox.com/developers-v1/core/start/java" rel="nofollow noreferrer" target="_blank"&gt;https://www.dropbox.com/developers-v1/core/start/java&lt;/A&gt; the generated code only last for one run, next time it does not work anymore and I need to generate a new code.&lt;/P&gt;
&lt;P&gt;How do I get my app (JAVA) to only request approval for my APP once and then be able to always run the app and upload my backup file?&lt;/P&gt;
&lt;P&gt;Many Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:35:46 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Java-dropbox-API-permanent-key/m-p/139963#M4356</guid>
      <dc:creator>Ricardo W.</dc:creator>
      <dc:date>2019-05-29T09:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: Java dropbox API permanent key</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Java-dropbox-API-permanent-key/m-p/139964#M4357</link>
      <description>&lt;P&gt;It sounds like you're referring to the "authorization code", stored as `code` in the &lt;A href="https://www.dropbox.com/developers-v1/core/start/java" target="_blank" rel="nofollow noreferrer"&gt;tutorial&lt;/A&gt;. The authorization code is temporary and can only be used once. The "access token", stored as `accessToken` in the tutorial, doesn't expire, so you can store and re-use that. When the user comes back, you can just retrieve that access token instead of sending them to the authorize URL again.&lt;/P&gt;</description>
      <pubDate>Sun, 14 Feb 2016 03:16:34 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Java-dropbox-API-permanent-key/m-p/139964#M4357</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-02-14T03:16:34Z</dc:date>
    </item>
    <item>
      <title>Re: Java dropbox API permanent key</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Java-dropbox-API-permanent-key/m-p/139965#M4358</link>
      <description>&lt;P&gt;Many thanks Gregory I had failed to see that, if &lt;SPAN class="pln"&gt;accessToken is valid I don't need to to run the "authorization code" and that the "authorization code" creates accessToken.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="pln"&gt;DbxAuthFinish authFinish = webAuth.finish(code);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; String accessToken = authFinish.accessToken;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="pln"&gt;Stored accessToken in a file and it's all good now.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="pln"&gt;Many Thanks for your help &lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Feb 2016 20:48:04 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Java-dropbox-API-permanent-key/m-p/139965#M4358</guid>
      <dc:creator>Ricardo W.</dc:creator>
      <dc:date>2016-02-15T20:48:04Z</dc:date>
    </item>
  </channel>
</rss>

