<?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 chooser question in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/dropbox-chooser-question/m-p/169544#M6289</link>
    <description>&lt;P&gt;Each call to&amp;nbsp;createTemporaryDirectLink will make another network request, to get the requested information from the&amp;nbsp;Dropbox API, so unfortunately there will be a good amount of overhead for that. I'm afraid I don't have a good solution,&amp;nbsp;but I'll be sure to pass this along as feedback.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 29 Mar 2016 21:58:27 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2016-03-29T21:58:27Z</dc:date>
    <item>
      <title>dropbox chooser question</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/dropbox-chooser-question/m-p/169541#M6286</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;Is it possible to use the chooser without the selection window ? I would go myself files parameters&lt;/P&gt;
&lt;P&gt;ex : list my dropbox's files -&amp;gt; chooser -&amp;gt; get link&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i've already try with the PHP api's fonction "createTemporaryDirectLink" but it creates a share link and script execution time is very long&lt;/P&gt;
&lt;P&gt;thanks&lt;/P&gt;
&lt;P&gt;sorry for my english&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:34:37 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/dropbox-chooser-question/m-p/169541#M6286</guid>
      <dc:creator>Nicolas A.2</dc:creator>
      <dc:date>2019-05-29T09:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: dropbox chooser question</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/dropbox-chooser-question/m-p/169542#M6287</link>
      <description>&lt;P&gt;No, it's not possible to use the Chooser without user interaction.&lt;/P&gt;
&lt;P&gt;The&amp;nbsp;createTemporaryDirectLink method in the PHP is a good alternative then. It returns a link just like the "direct link" type from the Chooser, but can be used completely programmatically. You can then download the file content via the returned link.&lt;/P&gt;
&lt;P&gt;Can you share the code that's not working as desired?&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2016 23:50:30 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/dropbox-chooser-question/m-p/169542#M6287</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-03-25T23:50:30Z</dc:date>
    </item>
    <item>
      <title>Re: dropbox chooser question</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/dropbox-chooser-question/m-p/169543#M6288</link>
      <description>&lt;P&gt;# Include the Dropbox SDK libraries&lt;BR /&gt;require_once "./../../../lib/dropbox-sdk/Dropbox/autoload.php";&lt;/P&gt;
&lt;P&gt;use \Dropbox as dbx;&lt;/P&gt;
&lt;P&gt;$appInfo = dbx\AppInfo::loadFromJsonFile("./../../../lib/dropbox-sdk/app-info.json");&lt;BR /&gt;$webAuth = new dbx\WebAuthNoRedirect($appInfo, "PHP-Example/1.0");&lt;/P&gt;
&lt;P&gt;$authorizeUrl = $webAuth-&amp;gt;start();&lt;/P&gt;
&lt;P&gt;$dbxClient = new dbx\Client("XXXXXXXXXXXXXXXXXXXXXXXX", "PHP-Example/1.0");&lt;BR /&gt;$accountInfo = $dbxClient-&amp;gt;getAccountInfo();&lt;/P&gt;
&lt;P&gt;//path exemple for the test&lt;/P&gt;
&lt;P&gt;$folderMetadata = $dbxClient-&amp;gt;getMetadataWithChildren("/images");&lt;/P&gt;
&lt;P&gt;for ($i = 0; $i &amp;lt; count($folderMetadata["contents"]); $i++) {&lt;BR /&gt;$path = $folderMetadata["contents"][$i]["path"];&lt;BR /&gt;$link = $dbxClient-&amp;gt;createTemporaryDirectLink($path);&lt;BR /&gt;echo '&amp;lt;a href="' . $link[0] . '"&amp;gt;&amp;lt;img src="' . $link[0] . '" /&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;br /&amp;gt;';&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This code works fine but if I list 20 images , the page takes 20 seconds to be displayed.&lt;/P&gt;
&lt;P&gt;Do you have a solution ?&lt;/P&gt;
&lt;P&gt;thank you for your reply&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2016 14:18:22 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/dropbox-chooser-question/m-p/169543#M6288</guid>
      <dc:creator>Nicolas A.2</dc:creator>
      <dc:date>2016-03-29T14:18:22Z</dc:date>
    </item>
    <item>
      <title>Re: dropbox chooser question</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/dropbox-chooser-question/m-p/169544#M6289</link>
      <description>&lt;P&gt;Each call to&amp;nbsp;createTemporaryDirectLink will make another network request, to get the requested information from the&amp;nbsp;Dropbox API, so unfortunately there will be a good amount of overhead for that. I'm afraid I don't have a good solution,&amp;nbsp;but I'll be sure to pass this along as feedback.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2016 21:58:27 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/dropbox-chooser-question/m-p/169544#M6289</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-03-29T21:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: dropbox chooser question</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/dropbox-chooser-question/m-p/169545#M6290</link>
      <description>&lt;P&gt;Ok thanks, i'll try to find another solution &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;</description>
      <pubDate>Tue, 29 Mar 2016 22:02:06 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/dropbox-chooser-question/m-p/169545#M6290</guid>
      <dc:creator>Nicolas A.2</dc:creator>
      <dc:date>2016-03-29T22:02:06Z</dc:date>
    </item>
  </channel>
</rss>

