<?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: Is it possible to automate getting the access code? in Discuss Dropbox Developer &amp; API</title>
    <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Is-it-possible-to-automate-getting-the-access-code/m-p/697995#M3464</link>
    <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1723389"&gt;@Vineeth1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As&amp;nbsp;Здравко&amp;nbsp;mentioned, you'll need to make sure that &lt;FONT face="andale mono,times" size="2"&gt;token_access_type=offline&lt;/FONT&gt; is included in your request to &lt;FONT face="andale mono,times" size="2"&gt;/oauth2/authorize&lt;/FONT&gt;&lt;/P&gt;
&lt;PRE class="literal-block"&gt;https://www.dropbox.com/oauth2/authorize?client_id=&amp;lt;APP_KEY&amp;gt;&amp;amp;token_access_type=offline&amp;amp;response_type=code&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Once that is successful, you should see a &lt;FONT face="andale mono,times" size="2"&gt;refresh_token&lt;/FONT&gt; in the response.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Feel free to reference our &lt;A href="https://developers.dropbox.com/oauth-guide" target="_blank"&gt;OAuth guide&lt;/A&gt;&amp;nbsp;for details on &lt;A href="https://developers.dropbox.com/oauth-guide#using-refresh-tokens" target="_blank"&gt;refresh tokens&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Tue, 11 Jul 2023 15:47:54 GMT</pubDate>
    <dc:creator>DB-Des</dc:creator>
    <dc:date>2023-07-11T15:47:54Z</dc:date>
    <item>
      <title>Is it possible to automate getting the access code?</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Is-it-possible-to-automate-getting-the-access-code/m-p/697740#M3460</link>
      <description>&lt;P&gt;&lt;BR /&gt;I tried using selenium to automate but I keep getting captcha which I cant get past it&lt;BR /&gt;Is there any way of getting past that&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jul 2023 16:43:48 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Is-it-possible-to-automate-getting-the-access-code/m-p/697740#M3460</guid>
      <dc:creator>Vineeth1</dc:creator>
      <dc:date>2023-07-10T16:43:48Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to automate getting the access code?</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Is-it-possible-to-automate-getting-the-access-code/m-p/697744#M3461</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1723389"&gt;@Vineeth1&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;... I keep getting captcha ...&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1723389"&gt;@Vineeth1&lt;/a&gt;, that's the reason of captcha to be there. &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@488936AC5FA64023548E32631AFD9803/emoticons/1f600.png" alt=":grinning_face:" title=":grinning_face:" /&gt;&lt;/P&gt;&lt;P&gt;If you want long term access, you can rely on refresh token instead of access token only. &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@41457EF40051AFF130FDBFE21B496926/emoticons/1f609.png" alt=":winking_face:" title=":winking_face:" /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jul 2023 16:59:42 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Is-it-possible-to-automate-getting-the-access-code/m-p/697744#M3461</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2023-07-10T16:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to automate getting the access code?</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Is-it-possible-to-automate-getting-the-access-code/m-p/697881#M3462</link>
      <description>&lt;PRE&gt;curl https://api.dropbox.com/oauth2/token \
    -d code=AUTHORIZATIONCODEHERE \
    -d grant_type=authorization_code \
    -u APPKEYHERE:APPSECRETHERE​&lt;/PRE&gt;&lt;P&gt;I tried using this to getting refresh token using this. The json doesnt contain refresh code in it. Is there any settings I need to change&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2023 06:12:16 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Is-it-possible-to-automate-getting-the-access-code/m-p/697881#M3462</guid>
      <dc:creator>Vineeth1</dc:creator>
      <dc:date>2023-07-11T06:12:16Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to automate getting the access code?</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Is-it-possible-to-automate-getting-the-access-code/m-p/697944#M3463</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1723389"&gt;@Vineeth1&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;... The json doesnt contain refresh code in it. Is there any settings I need to change&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Hi &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1723389"&gt;@Vineeth1&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Did you denote offline access in your authorization URL? 🧐 If I have to bet, No. &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@D2C249CA96A46FE957E27347F5B9E230/emoticons/1f448.png" alt=":backhand_index_pointing_left:" title=":backhand_index_pointing_left:" /&gt;&lt;/P&gt;&lt;P&gt;Take a look on &lt;A href="https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Issue-in-generating-access-token/m-p/592921/highlight/true#M27586" target="_blank" rel="noopener"&gt;this example&lt;/A&gt;. You don't need the last step there, just get the refresh token.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2023 12:47:27 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Is-it-possible-to-automate-getting-the-access-code/m-p/697944#M3463</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2023-07-11T12:47:27Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to automate getting the access code?</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Is-it-possible-to-automate-getting-the-access-code/m-p/697995#M3464</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1723389"&gt;@Vineeth1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As&amp;nbsp;Здравко&amp;nbsp;mentioned, you'll need to make sure that &lt;FONT face="andale mono,times" size="2"&gt;token_access_type=offline&lt;/FONT&gt; is included in your request to &lt;FONT face="andale mono,times" size="2"&gt;/oauth2/authorize&lt;/FONT&gt;&lt;/P&gt;
&lt;PRE class="literal-block"&gt;https://www.dropbox.com/oauth2/authorize?client_id=&amp;lt;APP_KEY&amp;gt;&amp;amp;token_access_type=offline&amp;amp;response_type=code&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Once that is successful, you should see a &lt;FONT face="andale mono,times" size="2"&gt;refresh_token&lt;/FONT&gt; in the response.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Feel free to reference our &lt;A href="https://developers.dropbox.com/oauth-guide" target="_blank"&gt;OAuth guide&lt;/A&gt;&amp;nbsp;for details on &lt;A href="https://developers.dropbox.com/oauth-guide#using-refresh-tokens" target="_blank"&gt;refresh tokens&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2023 15:47:54 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Is-it-possible-to-automate-getting-the-access-code/m-p/697995#M3464</guid>
      <dc:creator>DB-Des</dc:creator>
      <dc:date>2023-07-11T15:47:54Z</dc:date>
    </item>
  </channel>
</rss>

