<?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 generate code by using curl dropbox api in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/generate-code-by-using-curl-dropbox-api/m-p/613178#M28347</link>
    <description>&lt;P&gt;I don't want user interaction to click and allow a button to get code. I want to get it through curl or api.&lt;/P&gt;</description>
    <pubDate>Mon, 01 Aug 2022 10:51:37 GMT</pubDate>
    <dc:creator>aalok</dc:creator>
    <dc:date>2022-08-01T10:51:37Z</dc:date>
    <item>
      <title>generate code by using curl dropbox api</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/generate-code-by-using-curl-dropbox-api/m-p/613178#M28347</link>
      <description>&lt;P&gt;I don't want user interaction to click and allow a button to get code. I want to get it through curl or api.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Aug 2022 10:51:37 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/generate-code-by-using-curl-dropbox-api/m-p/613178#M28347</guid>
      <dc:creator>aalok</dc:creator>
      <dc:date>2022-08-01T10:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: generate code by using curl dropbox api</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/generate-code-by-using-curl-dropbox-api/m-p/613241#M28350</link>
      <description>&lt;P&gt;It is not possible to fully automate the OAuth process where the user chooses to authorize the app and the app then receives the resulting access token and optional refresh token. This needs to be done manually by the user at least once. If your app needs to maintain long-term access without the user manually re-authorizing it repeatedly, the app should request "offline" access so that it gets a refresh token. The refresh token doesn't expire and can be stored and used repeatedly to get new short-lived access tokens whenever needed, without the user manually reauthorizing the app.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can find more information on this in &lt;A href="https://developers.dropbox.com/oauth-guide" target="_blank" rel="noopener noreferrer"&gt;the 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;.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Aug 2022 14:09:28 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/generate-code-by-using-curl-dropbox-api/m-p/613241#M28350</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2022-08-01T14:09:28Z</dc:date>
    </item>
    <item>
      <title>Re: generate code by using curl dropbox api</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/generate-code-by-using-curl-dropbox-api/m-p/613408#M28356</link>
      <description>&lt;P&gt;Any curl API to get refresh token and how to check whether access token expired or not.plz, send me an updated API document link.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2022 07:23:39 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/generate-code-by-using-curl-dropbox-api/m-p/613408#M28356</guid>
      <dc:creator>aalok</dc:creator>
      <dc:date>2022-08-02T07:23:39Z</dc:date>
    </item>
    <item>
      <title>Re: generate code by using curl dropbox api</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/generate-code-by-using-curl-dropbox-api/m-p/613474#M28357</link>
      <description>&lt;P&gt;Hi &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1561566"&gt;@aalok&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;A minimalistic example of what you're asking for can be seen &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;here&lt;/A&gt;. The example shows API access using CURL, but it's the same while using any other way/HTTP access method (HTTP client). Of course, once get familiar with the OAuth' idea, you can extend the example to use different authentication methods (PKCE, for instance) and improve automation (with a loopback port to get the code without copy/paste, using 'netcat' for example or similar). &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;&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2022 11:55:36 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/generate-code-by-using-curl-dropbox-api/m-p/613474#M28357</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2022-08-02T11:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: generate code by using curl dropbox api</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/generate-code-by-using-curl-dropbox-api/m-p/613509#M28359</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1561566"&gt;@aalok&lt;/a&gt; Yes, the links in my previous message as well as the link that Здравко shared show how to use the OAuth app authorization flow. &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Attempting to use an expired short-lived access token will fail with the "expired_access_token" error. Refer to &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#error-handling" target="_blank"&gt;the Error documentation&lt;/A&gt; and &lt;A href="https://developers.dropbox.com/error-handling-guide" target="_blank"&gt;Error Handling Guide&lt;/A&gt; for more information on handling errors.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2022 14:54:43 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/generate-code-by-using-curl-dropbox-api/m-p/613509#M28359</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2022-08-02T14:54:43Z</dc:date>
    </item>
  </channel>
</rss>

