<?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: Mix Chooser and SDK in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Mix-Chooser-and-SDK/m-p/293173#M17866</link>
    <description>I see, thanks for elaborating. No, unfortunately I don't have a better solution to offer. The API and the Chooser aren't designed to be used closely together like this, but I'll pass this along as a feature request. &lt;BR /&gt;&lt;BR /&gt;That being the case, you'll need to implement them both separately, or make your own file browser, as you mentioned.</description>
    <pubDate>Wed, 22 Aug 2018 13:51:04 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2018-08-22T13:51:04Z</dc:date>
    <item>
      <title>Mix Chooser and SDK</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Mix-Chooser-and-SDK/m-p/292886#M17861</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I am currently working on app (full permission) where I would like to&amp;nbsp;choose a folder and then display the content on a webpage. It is important that it should be constantly looking for changes in that folder, so I am using &lt;EM&gt;longPoll&lt;/EM&gt; endpoint.&lt;/P&gt;&lt;P&gt;My current flow is: Press a button 'Authorize' to get the &lt;EM&gt;access_token&lt;/EM&gt; and then open a Dropbox.Chooser to &lt;EM&gt;select a folder&lt;/EM&gt;. I would like to open the Dropbox Chooser popup after I get the access_token from the API, but Chrome automatically blocks the popups that don't come from a trusted event (as in a click) - same for Dropbox Chooser.&amp;nbsp;From the UX, I don't want to use 2 buttons and I don't want to ask users to allow popups from my domain.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Long story short: My settings should contain &lt;EM&gt;access_token&lt;/EM&gt; and &lt;EM&gt;folderId&lt;/EM&gt;&amp;nbsp;by launching the flow with one click.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am stuck between documentation and differenet stack overflow responses but I was not able to implement something similar.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Bogdan&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:10:54 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Mix-Chooser-and-SDK/m-p/292886#M17861</guid>
      <dc:creator>BogdanCojocariu</dc:creator>
      <dc:date>2019-05-29T09:10:54Z</dc:date>
    </item>
    <item>
      <title>Re: Mix Chooser and SDK</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Mix-Chooser-and-SDK/m-p/292954#M17863</link>
      <description>Hi Bogdan, can you elaborate on what you have so far, and what you're stuck on exactly? The full Dropbox API and the Dropbox Chooser for the most part weren't meant to be used together, but you can do technically so (apart from logistical issues like pop-up restrictions which are out of our control unfortunately). If you're asking a way to both process the OAuth app authorization flow and do the Chooser flow from one click, I'm not sure that will be possible, for the reason you mentioned. You should be able to implement them both separately though.</description>
      <pubDate>Tue, 21 Aug 2018 18:50:51 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Mix-Chooser-and-SDK/m-p/292954#M17863</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-08-21T18:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: Mix Chooser and SDK</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Mix-Chooser-and-SDK/m-p/292995#M17865</link>
      <description>&lt;P&gt;Hey Greg, thanks for your answer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was hoping there is a Dropbox Chooser from the SDK that also includes the Authorization part. (as Google Picker works - select something after you authorize the app)[1].&lt;BR /&gt;The complete story of my project consist in two apps. The user story is being able to display the photos you have from a dropbox folder, but this app does not have any user interaction. So in order to read the files from a folder, I need the access_token and the folderId.&lt;/P&gt;&lt;P&gt;There is a different app for that where user logs with &lt;EM&gt;getAuthenticationUrl&lt;/EM&gt; and selects a folder with Dropbox Chooser and then, I pass this config object to the other app.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was hoping I could launch both flows (authorization and file picking) together, not separately.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I started my own pseudo-file picker by 'navigating' dynamically with&amp;nbsp;&lt;EM&gt;filesListFolder&lt;/EM&gt; but&amp;nbsp;maybe I am missing something and there is a better solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have a wonderful day,&lt;/P&gt;&lt;P&gt;Bogdan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[1]:&amp;nbsp;&lt;A href="https://developers.google.com/picker/" target="_blank"&gt;https://developers.google.com/picker/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Aug 2018 21:03:27 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Mix-Chooser-and-SDK/m-p/292995#M17865</guid>
      <dc:creator>BogdanCojocariu</dc:creator>
      <dc:date>2018-08-21T21:03:27Z</dc:date>
    </item>
    <item>
      <title>Re: Mix Chooser and SDK</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Mix-Chooser-and-SDK/m-p/293173#M17866</link>
      <description>I see, thanks for elaborating. No, unfortunately I don't have a better solution to offer. The API and the Chooser aren't designed to be used closely together like this, but I'll pass this along as a feature request. &lt;BR /&gt;&lt;BR /&gt;That being the case, you'll need to implement them both separately, or make your own file browser, as you mentioned.</description>
      <pubDate>Wed, 22 Aug 2018 13:51:04 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Mix-Chooser-and-SDK/m-p/293173#M17866</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-08-22T13:51:04Z</dc:date>
    </item>
  </channel>
</rss>

