<?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: Webpage that lists contents of shared, public dropbox folder in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Webpage-that-lists-contents-of-shared-public-dropbox-folder/m-p/48595#M1513</link>
    <description>&lt;P&gt;fyi for others - access token can be generated following instructions here:&amp;nbsp;&lt;A href="https://blogs.dropbox.com/developers/2014/05/generate-an-access-token-for-your-own-account/" rel="nofollow noreferrer"&gt;https://blogs.dropbox.com/developers/2014/05/generate-an-access-token-for-your-own-account/&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 19 Aug 2015 13:39:58 GMT</pubDate>
    <dc:creator>Paul W.79</dc:creator>
    <dc:date>2015-08-19T13:39:58Z</dc:date>
    <item>
      <title>Webpage that lists contents of shared, public dropbox folder</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Webpage-that-lists-contents-of-shared-public-dropbox-folder/m-p/48593#M1511</link>
      <description>&lt;P&gt;I'd like to be able to add files into a shared Dropbox folder, and then have my website be able to&amp;nbsp;list and download the contents of that shared dropbox folder.&lt;/P&gt;

&lt;P&gt;So I don't want there to have to be a user authentication flow. I don't need to access the folders/files of various users. I just need to be able to access the content of this one folder.&lt;/P&gt;

&lt;P&gt;I want my server to be able to list the contents of this one shared folder, with the authentication process happening entirely on the server, and then display that via a webpage. Then if a user clicks on a specific file, it will download that file, once again, without having to go through a user interactive authentication process.&lt;/P&gt;

&lt;P&gt;All the examples I see require user input for authentication to access all the contents of one users Dropbox folder. Are there any examples doing just what I'm saying, preferably with the Java SDK (or javascript/node)?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:40:35 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Webpage-that-lists-contents-of-shared-public-dropbox-folder/m-p/48593#M1511</guid>
      <dc:creator>Paul W.79</dc:creator>
      <dc:date>2019-05-29T09:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: Webpage that lists contents of shared, public dropbox folder</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Webpage-that-lists-contents-of-shared-public-dropbox-folder/m-p/48594#M1512</link>
      <description>&lt;P&gt;[Cross-linking for reference:&amp;nbsp; &lt;A href="https://stackoverflow.com/questions/32030105/dropbox-api-listing-content-of-shared-public-folder" rel="nofollow noreferrer"&gt;https://stackoverflow.com/questions/32030105/dropbox-api-listing-content-of-shared-public-folder&lt;/A&gt; ]&lt;/P&gt;

&lt;P&gt;The API was designed with the intention that each user would link their own Dropbox account, in order to interact with their own files. However, it is technically possible to connect to just one account. The SDKs don't offer explicit support for it and we don't recommend doing so, for various technical and security reasons. Most of these concerns are allayed for server-side apps though, where you can protect the access token server-side.&lt;/P&gt;

&lt;P&gt;So&amp;nbsp;if you did want to go this route, instead of kicking off the authorization flow, you would manually use an existing access token for your account. (Just be careful not to revoke it, e.g. via &lt;A href="https://www.dropbox.com/account/security" rel="nofollow noreferrer"&gt;https://www.dropbox.com/account/security&lt;/A&gt; .)&lt;/P&gt;

&lt;P&gt;For example, using the Java SDK, you could initialize a client using a hard coded access token for your own account using &lt;A href="https://dropbox.github.io/dropbox-sdk-java/api-docs/v1.7.x/com/dropbox/core/DbxClient.html#DbxClient(com.dropbox.core.DbxRequestConfig,%20java.lang.String)" rel="nofollow noreferrer"&gt;this constructor&lt;/A&gt;.&lt;/P&gt;

&lt;P&gt;From there you can make the normal calls to &lt;A href="https://dropbox.github.io/dropbox-sdk-java/api-docs/v1.7.x/com/dropbox/core/DbxClient.html#getMetadata(java.lang.String)" rel="nofollow noreferrer"&gt;list&lt;/A&gt; and &lt;A href="https://dropbox.github.io/dropbox-sdk-java/api-docs/v1.7.x/com/dropbox/core/DbxClient.html#getFile(java.lang.String,%20java.lang.String,%20java.io.OutputStream)" rel="nofollow noreferrer"&gt;download&lt;/A&gt; files.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Aug 2015 05:21:43 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Webpage-that-lists-contents-of-shared-public-dropbox-folder/m-p/48594#M1512</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2015-08-17T05:21:43Z</dc:date>
    </item>
    <item>
      <title>Re: Webpage that lists contents of shared, public dropbox folder</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Webpage-that-lists-contents-of-shared-public-dropbox-folder/m-p/48595#M1513</link>
      <description>&lt;P&gt;fyi for others - access token can be generated following instructions here:&amp;nbsp;&lt;A href="https://blogs.dropbox.com/developers/2014/05/generate-an-access-token-for-your-own-account/" rel="nofollow noreferrer"&gt;https://blogs.dropbox.com/developers/2014/05/generate-an-access-token-for-your-own-account/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Aug 2015 13:39:58 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Webpage-that-lists-contents-of-shared-public-dropbox-folder/m-p/48595#M1513</guid>
      <dc:creator>Paul W.79</dc:creator>
      <dc:date>2015-08-19T13:39:58Z</dc:date>
    </item>
    <item>
      <title>Re: Webpage that lists contents of shared, public dropbox folder</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Webpage-that-lists-contents-of-shared-public-dropbox-folder/m-p/48596#M1514</link>
      <description>&lt;P&gt;Will the access token last indefinitely if it is never revoked on my end?&lt;/P&gt;</description>
      <pubDate>Wed, 19 Aug 2015 13:51:01 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Webpage-that-lists-contents-of-shared-public-dropbox-folder/m-p/48596#M1514</guid>
      <dc:creator>Paul W.79</dc:creator>
      <dc:date>2015-08-19T13:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: Webpage that lists contents of shared, public dropbox folder</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Webpage-that-lists-contents-of-shared-public-dropbox-folder/m-p/48597#M1515</link>
      <description>&lt;P&gt;Yes, OAuth 2 access tokens for the&amp;nbsp;Dropbox API, including those generated from the App Console, don't expire by themselves.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Aug 2015 23:15:57 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Webpage-that-lists-contents-of-shared-public-dropbox-folder/m-p/48597#M1515</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2015-08-19T23:15:57Z</dc:date>
    </item>
  </channel>
</rss>

