<?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: dropbox Api in js in Discuss Dropbox Developer &amp; API</title>
    <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/dropbox-Api-in-js/m-p/393110#M974</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Thanks! helped) last question, can I open files for viewing in my application?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 28 Jan 2020 21:07:54 GMT</pubDate>
    <dc:creator>IgorTsivan</dc:creator>
    <dc:date>2020-01-28T21:07:54Z</dc:date>
    <item>
      <title>dropbox Api in js</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/dropbox-Api-in-js/m-p/392605#M964</link>
      <description>&lt;P&gt;Hi, help me pls.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I can’t understand the API how to navigate folders and files in my application if I have already displayed the top level of folders and files on the screen. I work with React.js&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2020 14:03:04 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/dropbox-Api-in-js/m-p/392605#M964</guid>
      <dc:creator>IgorTsivan</dc:creator>
      <dc:date>2020-01-27T14:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: dropbox Api in js</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/dropbox-Api-in-js/m-p/392681#M967</link>
      <description>&lt;P&gt;Can you elaborate on what exactly you're currently stuck on?&lt;/P&gt;
&lt;P&gt;To use the&amp;nbsp;Dropbox API from JavaScript, we&amp;nbsp;recommend using &lt;A href="https://github.com/dropbox/dropbox-sdk-js" target="_self"&gt;the official&amp;nbsp;Dropbox API v2 JavaScript SDK&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;With that, you can use the&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-js/Dropbox.html#filesListFolder__anchor" target="_self"&gt;filesListFolder&lt;/A&gt; and&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-js/Dropbox.html#filesListFolderContinue__anchor" target="_self"&gt;filesListFolderContinue&lt;/A&gt; methods to list the contents of any desired folder, at any level, by passing the full path of the desired folder to&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-js/Dropbox.html#filesListFolder__anchor" target="_self"&gt;filesListFolder&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2020 17:06:05 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/dropbox-Api-in-js/m-p/392681#M967</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-01-27T17:06:05Z</dc:date>
    </item>
    <item>
      <title>Re: dropbox Api in js</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/dropbox-Api-in-js/m-p/392868#M970</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Thanks for the answer. I am a junior developer and try to understand how to use these methods exactly. The photo shows how I use the filesListFolder method. And I want to clarify how I can move on so that I can navigate folders and open files in my application? I understand that the list_folder / continue method is needed, but how to use it?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I tried to solve this problem for a very long time, and I will be grateful for the help. If necessary, I can attach the entire code. Thanks:)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dbx.png" style="width: 774px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/13572iA65CD41D159033DE/image-size/large?v=v2&amp;amp;px=999" role="button" title="dbx.png" alt="dbx.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dbx-app.png" style="width: 999px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/13558iDCC63FCCA447128A/image-size/large?v=v2&amp;amp;px=999" role="button" title="dbx-app.png" alt="dbx-app.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2020 17:32:50 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/dropbox-Api-in-js/m-p/392868#M970</guid>
      <dc:creator>IgorTsivan</dc:creator>
      <dc:date>2020-01-28T17:32:50Z</dc:date>
    </item>
    <item>
      <title>Re: dropbox Api in js</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/dropbox-Api-in-js/m-p/393039#M971</link>
      <description>&lt;P&gt;When you get the response from&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-js/Dropbox.html#filesListFolder__anchor" target="_self" rel="nofollow noopener noreferrer"&gt;filesListFolder&lt;/A&gt;&amp;nbsp;you need to check the returned&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-js/global.html#FilesListFolderResult" target="_self"&gt;FilesListFolderResult&lt;/A&gt;.has_more value and if it's true, call back to&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-js/Dropbox.html#filesListFolderContinue__anchor" target="_self" rel="nofollow noopener noreferrer"&gt;filesListFolderContinue&lt;/A&gt;. Calling&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-js/Dropbox.html#filesListFolderContinue__anchor" target="_self" rel="nofollow noopener noreferrer"&gt;filesListFolderContinue&lt;/A&gt;&amp;nbsp;works the same way as&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-js/Dropbox.html#filesListFolder__anchor" target="_self" rel="nofollow noopener noreferrer"&gt;filesListFolder&lt;/A&gt;&amp;nbsp;except that you pass in a 'cursor', from&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-js/global.html#FilesListFolderResult" target="_self"&gt;FilesListFolderResult&lt;/A&gt;.cursor. It also returns the same&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-js/global.html#FilesListFolderResult" target="_self"&gt;FilesListFolderResult&lt;/A&gt; type.&lt;/P&gt;
&lt;P&gt;To download a file, use the&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-js/Dropbox.html#filesDownload__anchor" target="_self"&gt;filesDownload&lt;/A&gt; and pass in the 'path_lower' for the desired file. &lt;A href="https://github.com/dropbox/dropbox-sdk-js/blob/b2353edeb221ec17b8e70a1d8fd4799e2f1f031d/examples/javascript/download/index.html#L53" target="_self"&gt;Here's an example showing how to access the file data&lt;/A&gt;. (It's written for&amp;nbsp;sharingGetSharedLinkFile but it works the same way.)&lt;/P&gt;
&lt;P&gt;By the way, you posted your access token in your screenshot. I replaced your screenshot with a redacted version, but for the sake of security, you should disable that access token since it was posted publicly. You can do so by revoking access to the app entirely, if the access token is for your account, &lt;A href="https://www.dropbox.com/account/connected_apps" target="_self"&gt;here&lt;/A&gt;. Or, you can disable just this access token using the API, via&amp;nbsp;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#auth-token-revoke" target="_self"&gt;HTTP&lt;/A&gt;, or&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-js/Dropbox.html#authTokenRevoke__anchor" target="_self"&gt;JavaScript SDK&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2020 17:39:48 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/dropbox-Api-in-js/m-p/393039#M971</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-01-28T17:39:48Z</dc:date>
    </item>
    <item>
      <title>Re: dropbox Api in js</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/dropbox-Api-in-js/m-p/393061#M972</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Good,&amp;nbsp;I got it, thanks &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@FBF7D2AB59A0D6E861EBF6A36F93B7E2/emoticons/1f642.png" alt=":slightly_smiling_face:" title=":slightly_smiling_face:" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If the return value of FilesListFolderResult.has_more is false, since the entire filelist folder is loaded.&lt;IMG src="https://www.dropboxforum.com/t5/image/serverpage/image-id/13577i6CBF71AE3BB14122/image-size/original?v=1.0&amp;amp;px=-1" border="0" alt="bdx-2.png" title="bdx-2.png" /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But I need to click on a folder to open its contents, which is one level lower. I read that methods are needed here (filesMoveBatchV2, filesMoveBatchCheckV2). And so I don’t quite understand how they work and how I can implement this. didn't see anything like it on the internet&lt;/SPAN&gt;&amp;nbsp;&lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@B0F70D28791EB05FA3EA0C3BDDF08EE3/emoticons/1f61e.png" alt=":disappointed_face:" title=":disappointed_face:" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2020 18:36:21 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/dropbox-Api-in-js/m-p/393061#M972</guid>
      <dc:creator>IgorTsivan</dc:creator>
      <dc:date>2020-01-28T18:36:21Z</dc:date>
    </item>
    <item>
      <title>Re: dropbox Api in js</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/dropbox-Api-in-js/m-p/393102#M973</link>
      <description>&lt;P&gt;The "move" methods would only be if you need to actually change the location of a file or folder in the&amp;nbsp;Dropbox account.&lt;/P&gt;
&lt;P&gt;If you just want to browse a different folder, you can call&amp;nbsp;&lt;A href="https://dropbox.github.io/dropbox-sdk-js/Dropbox.html#filesListFolder__anchor" target="_self" rel="nofollow noopener noreferrer noopener noreferrer"&gt;filesListFolder&lt;/A&gt;&lt;SPAN&gt;/&lt;/SPAN&gt;&lt;A href="https://dropbox.github.io/dropbox-sdk-js/Dropbox.html#filesListFolderContinue__anchor" target="_self" rel="nofollow noopener noreferrer noopener noreferrer"&gt;filesListFolderContinue&lt;/A&gt; again, supplying the 'path_lower' of the sub-folder you want to list. You would then use the result from that to update your UI to show that listing.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2020 20:52:17 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/dropbox-Api-in-js/m-p/393102#M973</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-01-28T20:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: dropbox Api in js</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/dropbox-Api-in-js/m-p/393110#M974</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Thanks! helped) last question, can I open files for viewing in my application?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2020 21:07:54 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/dropbox-Api-in-js/m-p/393110#M974</guid>
      <dc:creator>IgorTsivan</dc:creator>
      <dc:date>2020-01-28T21:07:54Z</dc:date>
    </item>
    <item>
      <title>Re: dropbox Api in js</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/dropbox-Api-in-js/m-p/393373#M975</link>
      <description>&lt;P&gt;You can download the file data using the API/SDK. Please refer to &lt;A href="https://www.dropboxforum.com/t5/Discuss-Developer-API/dropbox-Api-in-js/m-p/393039/highlight/true#M971" target="_self"&gt;my comment here&lt;/A&gt; for some information on doing that.&lt;/P&gt;
&lt;P&gt;Exactly what you do with the data, e.g., how you display or present it to the user, will depend on your use case.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2020 17:27:00 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/dropbox-Api-in-js/m-p/393373#M975</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-01-29T17:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: dropbox Api in js</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/dropbox-Api-in-js/m-p/393579#M976</link>
      <description>&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2020 11:14:17 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/dropbox-Api-in-js/m-p/393579#M976</guid>
      <dc:creator>IgorTsivan</dc:creator>
      <dc:date>2020-01-30T11:14:17Z</dc:date>
    </item>
  </channel>
</rss>

