<?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: API App Authentication Get List of files/folders from public link in Discuss Dropbox Developer &amp; API</title>
    <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/API-App-Authentication-Get-List-of-files-folders-from-public/m-p/436387#M1379</link>
    <description>&lt;P&gt;The&amp;nbsp;Dropbox API doesn't offer a way to get an access token automatically, just from an app key and secret. If you need "background", sometimes called "offline", access like this, you should get and store the refresh token like you described. The refresh token doesn't expire by itself (though can be revoked on demand), so you can store and re-use that to get new access tokens as needed, without manual user interaction.&lt;/P&gt;</description>
    <pubDate>Fri, 10 Jul 2020 15:37:50 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2020-07-10T15:37:50Z</dc:date>
    <item>
      <title>API App Authentication Get List of files/folders from public link</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/API-App-Authentication-Get-List-of-files-folders-from-public/m-p/434966#M1360</link>
      <description>&lt;P&gt;Hi i'm looking for some advice on how to do the following and what best route of authentication / api end points I should use,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need to be able to parse a dropbox business folder (can do this via a public shared link) for specific files to download which i then need to migrate data to a backoffice system.&amp;nbsp; This would be a background service without user interaction.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What would be the best way to do this with the API and .net SDK?&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jul 2020 11:25:49 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/API-App-Authentication-Get-List-of-files-folders-from-public/m-p/434966#M1360</guid>
      <dc:creator>rsd20</dc:creator>
      <dc:date>2020-07-06T11:25:49Z</dc:date>
    </item>
    <item>
      <title>Re: API App Authentication Get List of files/folders from public link</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/API-App-Authentication-Get-List-of-files-folders-from-public/m-p/435213#M1365</link>
      <description>&lt;P&gt;If you have a shared link for a folder and want to programmatically list its contents using the .NET SDK, you should use the&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Files_Routes_FilesUserRoutes_ListFolderAsync_1.htm" target="_self"&gt;ListFolderAsync&lt;/A&gt;/&lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Files_Routes_FilesUserRoutes_ListFolderContinueAsync.htm" target="_self"&gt;ListFolderContinueAsync&lt;/A&gt; methods, and supply the 'path' and 'sharedLink' parameters to &lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Files_Routes_FilesUserRoutes_ListFolderAsync_1.htm" target="_self"&gt;ListFolderAsync&lt;/A&gt;. The 'path' parameter value should be the empty string if you want to list the contents of the folder root itself, or a relative path like "/subfolder" if you want to list the contents of a subfolder.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To download a file from a shared link, you should use &lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_Sharing_Routes_SharingUserRoutes_GetSharedLinkFileAsync_1.htm" target="_self"&gt;the&amp;nbsp;GetSharedLinkFileAsync method&lt;/A&gt;. You can supply just the 'url' parameter if the shared link is for the file itself, or both the 'url' and 'path' parameters if the shared link is for a folder and you want to download a specific file, identified by a particular relative path in 'path'.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jul 2020 18:22:30 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/API-App-Authentication-Get-List-of-files-folders-from-public/m-p/435213#M1365</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-07-06T18:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: API App Authentication Get List of files/folders from public link</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/API-App-Authentication-Get-List-of-files-folders-from-public/m-p/435530#M1369</link>
      <description>&lt;P&gt;Hi Greg&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the response.&amp;nbsp; I am struggling to find a way of authenticating without user interaction.&amp;nbsp; As this service will need to run nightly and pull data files from drop box.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2020 19:46:52 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/API-App-Authentication-Get-List-of-files-folders-from-public/m-p/435530#M1369</guid>
      <dc:creator>rsd20</dc:creator>
      <dc:date>2020-07-07T19:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: API App Authentication Get List of files/folders from public link</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/API-App-Authentication-Get-List-of-files-folders-from-public/m-p/435534#M1370</link>
      <description>&lt;P&gt;The initial authentication/authorization flow does require manual user interaction, but you can store and re-use the resulting access token after that for future use without further manual user interaction.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2020 19:55:10 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/API-App-Authentication-Get-List-of-files-folders-from-public/m-p/435534#M1370</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-07-07T19:55:10Z</dc:date>
    </item>
    <item>
      <title>Re: API App Authentication Get List of files/folders from public link</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/API-App-Authentication-Get-List-of-files-folders-from-public/m-p/435558#M1372</link>
      <description>&lt;P&gt;If i use the access token generated in the app admin console is this sufficient? What lifespan does it have?&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2020 20:49:23 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/API-App-Authentication-Get-List-of-files-folders-from-public/m-p/435558#M1372</guid>
      <dc:creator>rsd20</dc:creator>
      <dc:date>2020-07-07T20:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: API App Authentication Get List of files/folders from public link</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/API-App-Authentication-Get-List-of-files-folders-from-public/m-p/435741#M1374</link>
      <description>&lt;P&gt;You can use an access token generated from the app's page on the App Console to connect to your own account.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that depending on the app's configuration, the access token may be short-lived (expires after four hours) or long-lived (doesn't expire by itself). If you don't yet have the "Access token expiration" option on that page, your access token will be long-lived. You can also tell from the access token itself. If it starts with "sl.", it is short-lived. You can find more information in &lt;A href="https://www.dropbox.com/lp/developers/reference/oauth-guide" target="_self"&gt;the OAuth Guide&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jul 2020 14:54:44 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/API-App-Authentication-Get-List-of-files-folders-from-public/m-p/435741#M1374</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-07-08T14:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: API App Authentication Get List of files/folders from public link</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/API-App-Authentication-Get-List-of-files-folders-from-public/m-p/436293#M1378</link>
      <description>&lt;P&gt;I understand that the auth code retrieved form manual user interaction can only be used once.&lt;/P&gt;&lt;P&gt;If at this stage I go and get a token anrefresh token.&amp;nbsp; Is it expected to just keep these tokens and keep refreshing as and when I need to.&amp;nbsp; long does the refresh token last?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there no way to get a bearer token from just the app key and secret, it seems that the api doesnt cater for background applications?&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jul 2020 09:21:41 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/API-App-Authentication-Get-List-of-files-folders-from-public/m-p/436293#M1378</guid>
      <dc:creator>rsd20</dc:creator>
      <dc:date>2020-07-10T09:21:41Z</dc:date>
    </item>
    <item>
      <title>Re: API App Authentication Get List of files/folders from public link</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/API-App-Authentication-Get-List-of-files-folders-from-public/m-p/436387#M1379</link>
      <description>&lt;P&gt;The&amp;nbsp;Dropbox API doesn't offer a way to get an access token automatically, just from an app key and secret. If you need "background", sometimes called "offline", access like this, you should get and store the refresh token like you described. The refresh token doesn't expire by itself (though can be revoked on demand), so you can store and re-use that to get new access tokens as needed, without manual user interaction.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jul 2020 15:37:50 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/API-App-Authentication-Get-List-of-files-folders-from-public/m-p/436387#M1379</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-07-10T15:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: API App Authentication Get List of files/folders from public link</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/API-App-Authentication-Get-List-of-files-folders-from-public/m-p/453289#M1488</link>
      <description>&lt;P&gt;Is this achievable via the .NET client or only via straight http calls?&lt;/P&gt;</description>
      <pubDate>Mon, 14 Sep 2020 19:47:18 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/API-App-Authentication-Get-List-of-files-folders-from-public/m-p/453289#M1488</guid>
      <dc:creator>tribalneck2000</dc:creator>
      <dc:date>2020-09-14T19:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: API App Authentication Get List of files/folders from public link</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/API-App-Authentication-Get-List-of-files-folders-from-public/m-p/453299#M1489</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1350861"&gt;@tribalneck2000&lt;/a&gt;&amp;nbsp;All of the functionality discussed above is available both via &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation" target="_self"&gt;the API v2 HTTPS endpoints&lt;/A&gt; themselves, as well as &lt;A href="https://github.com/dropbox/dropbox-sdk-dotnet" target="_self"&gt;the official&amp;nbsp;Dropbox API .NET SDK&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Sep 2020 20:15:43 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/API-App-Authentication-Get-List-of-files-folders-from-public/m-p/453299#M1489</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-09-14T20:15:43Z</dc:date>
    </item>
    <item>
      <title>Re: API App Authentication Get List of files/folders from public link</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/API-App-Authentication-Get-List-of-files-folders-from-public/m-p/454292#M1500</link>
      <description>&lt;P&gt;Where can I find a sample of exchanging the refresh token for an access token via the .NET API? I have been looking at the repo:&amp;nbsp;&lt;A href="https://github.com/dropbox/dropbox-sdk-dotnet" target="_blank"&gt;https://github.com/dropbox/dropbox-sdk-dotnet&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Sep 2020 22:49:03 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/API-App-Authentication-Get-List-of-files-folders-from-public/m-p/454292#M1500</guid>
      <dc:creator>tribalneck2000</dc:creator>
      <dc:date>2020-09-17T22:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: API App Authentication Get List of files/folders from public link</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/API-App-Authentication-Get-List-of-files-folders-from-public/m-p/454496#M1501</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1350861"&gt;@tribalneck2000&lt;/a&gt;&amp;nbsp;You can find&amp;nbsp;&lt;A href="https://github.com/dropbox/dropbox-sdk-dotnet/blob/master/dropbox-sdk-dotnet/Examples/OauthBasic/Program.cs" target="_self"&gt;an example of processing the OAuth flow with the .NET SDK here&lt;/A&gt;. For example, it uses &lt;A href="https://dropbox.github.io/dropbox-sdk-dotnet/html/M_Dropbox_Api_DropboxClient_RefreshAccessToken.htm" target="_self"&gt;the&amp;nbsp;RefreshAccessToken method&lt;/A&gt; to &lt;A href="https://github.com/dropbox/dropbox-sdk-dotnet/blob/master/dropbox-sdk-dotnet/Examples/OauthBasic/Program.cs#L94" target="_self"&gt;use a refresh token to get a new access token here&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Sep 2020 16:45:36 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/API-App-Authentication-Get-List-of-files-folders-from-public/m-p/454496#M1501</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-09-18T16:45:36Z</dc:date>
    </item>
    <item>
      <title>Re: API App Authentication Get List of files/folders from public link</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/API-App-Authentication-Get-List-of-files-folders-from-public/m-p/454578#M1502</link>
      <description>&lt;P&gt;I think I am misunderstanding what you are saying about offline access - it sounded like you can call the aquire access token once and grab the refresh token and store it permanently since it doesn't expire.. then all you have to do is call&amp;nbsp;RefreshAccessToken after constructing a DropBoxClient with the refresh token as a param (not sure what you are supposed to put in the ctor param for the access token).&amp;nbsp; That doesn't seem to work.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Sep 2020 23:28:42 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/API-App-Authentication-Get-List-of-files-folders-from-public/m-p/454578#M1502</guid>
      <dc:creator>tribalneck2000</dc:creator>
      <dc:date>2020-09-18T23:28:42Z</dc:date>
    </item>
    <item>
      <title>Re: API App Authentication Get List of files/folders from public link</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/API-App-Authentication-Get-List-of-files-folders-from-public/m-p/454595#M1503</link>
      <description>&lt;P&gt;Actually I think I got it, read thru the source, there are ctors with just the refresh token. I had a scoping issue that was returning a 400 error. As long as the refresh token can be used forever, I think I may be good for now.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 19 Sep 2020 01:19:11 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/API-App-Authentication-Get-List-of-files-folders-from-public/m-p/454595#M1503</guid>
      <dc:creator>tribalneck2000</dc:creator>
      <dc:date>2020-09-19T01:19:11Z</dc:date>
    </item>
    <item>
      <title>Re: API App Authentication Get List of files/folders from public link</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/API-App-Authentication-Get-List-of-files-folders-from-public/m-p/455035#M1505</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1350861"&gt;@tribalneck2000&lt;/a&gt;&amp;nbsp;Thanks for following up. I'm glad to hear you've sorted this out. Yes, refresh tokens don't expire by themselves (though the user or app can revoke them if desired).&lt;/P&gt;</description>
      <pubDate>Mon, 21 Sep 2020 15:38:43 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/API-App-Authentication-Get-List-of-files-folders-from-public/m-p/455035#M1505</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-09-21T15:38:43Z</dc:date>
    </item>
  </channel>
</rss>

