<?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 integrated with a react webapp not working when opened in chrome ios mobile, ipa in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-Dropbox-chooser-integrated-with-a-react-webapp-not-working/m-p/740691#M32702</link>
    <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1790788"&gt;@anas saifi&lt;/a&gt; I've moved your post to its own thread, as the original thread did not mention an issue with a CORS error.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please share the details of the issue, such as the steps/code to reproduce the issue, as well as the full error/output you're getting so we can take a look.&lt;/P&gt;</description>
    <pubDate>Wed, 03 Jan 2024 17:28:38 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2024-01-03T17:28:38Z</dc:date>
    <item>
      <title>Re: Dropbox chooser integrated with a react webapp not working when opened in chrome ios mobile, ipa</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-Dropbox-chooser-integrated-with-a-react-webapp-not-working/m-p/740669#M32701</link>
      <description>&lt;P&gt;hey I am also using react-dropbox-chooser, when I select an image I get it's meta data such as thumbnail link, link, bytes etc. Now I need to send the blob of this file to the server but when I fetch the blob using the link that I got in the response I get CORS error.&lt;BR /&gt;Since you are working on the same thing so can you please help me out ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jan 2024 16:24:08 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-Dropbox-chooser-integrated-with-a-react-webapp-not-working/m-p/740669#M32701</guid>
      <dc:creator>anas saifi</dc:creator>
      <dc:date>2024-01-03T16:24:08Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox chooser integrated with a react webapp not working when opened in chrome ios mobile, ipa</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-Dropbox-chooser-integrated-with-a-react-webapp-not-working/m-p/740691#M32702</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1790788"&gt;@anas saifi&lt;/a&gt; I've moved your post to its own thread, as the original thread did not mention an issue with a CORS error.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please share the details of the issue, such as the steps/code to reproduce the issue, as well as the full error/output you're getting so we can take a look.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jan 2024 17:28:38 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-Dropbox-chooser-integrated-with-a-react-webapp-not-working/m-p/740691#M32702</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2024-01-03T17:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox chooser integrated with a react webapp not working when opened in chrome ios mobile, ipa</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-Dropbox-chooser-integrated-with-a-react-webapp-not-working/m-p/741052#M32706</link>
      <description>&lt;P&gt;I am using react-dropbox-chooser to integrate Dropbox in my application.&lt;/P&gt;&lt;P&gt;Everything works fine, it allows me to sign in my account and it also displays my files, on choosing an image I get the following data about the image&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Image data" style="width: 416px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/43185i042AA2FDF6AAF87C/image-dimensions/416x164?v=v2" width="416" height="164" role="button" title="Screenshot 2023-12-23 111400.png" alt="Image data" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Image data&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I need to send the image to server for that I need to get the blob of the image, which I am doing in the following manner&lt;BR /&gt;const response=fetch(link)&lt;BR /&gt;const blob = await response.blob()&lt;BR /&gt;but I am getting the following error&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-12-23 111632.png" style="width: 513px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/43186i57E6126219CC3C00/image-dimensions/513x172?v=v2" width="513" height="172" role="button" title="Screenshot 2023-12-23 111632.png" alt="Screenshot 2023-12-23 111632.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2024 11:21:31 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-Dropbox-chooser-integrated-with-a-react-webapp-not-working/m-p/741052#M32706</guid>
      <dc:creator>anas saifi</dc:creator>
      <dc:date>2024-01-04T11:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox chooser integrated with a react webapp not working when opened in chrome ios mobile, ipa</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-Dropbox-chooser-integrated-with-a-react-webapp-not-working/m-p/741075#M32709</link>
      <description>&lt;P&gt;Hi &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1790788"&gt;@anas saifi&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;You have 2 mistakes in your code (only the second got signaled yet).&lt;/P&gt;&lt;P&gt;The link received is a shared link, not raw! Like any other shared link, it points to preview page of the pointed file, not to the file itself. What you're doing is trying to fetching that page HTML, not image data. Even if it was successful, the response wouldn't contain any image. 🙋 To be able access the pointed file content (now image) you need to change the ending "&amp;amp;dl=0" to "&amp;amp;raw=1".&lt;/P&gt;&lt;P&gt;By default fetch wouldn't let you send query to another domain (CORS rules). To be able do it, you need to change the mode to "no-cors". &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; That's where you issue is coming from - you miss this part.&lt;/P&gt;&lt;P&gt;Try something like:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;const response=fetch("https://dropbox.com/scl/fi/p03jwhsifuo35nqdl5y6x/WhatsApp-Image-2023-10-13-at-12.55.24-PM.jpeg?rlkey=8dmxt9wn20us1k0yip9em4rji&amp;amp;raw=1", {mode: "no-cors"})&lt;/LI-CODE&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2024 13:14:02 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-Dropbox-chooser-integrated-with-a-react-webapp-not-working/m-p/741075#M32709</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2024-01-04T13:14:02Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox chooser integrated with a react webapp not working when opened in chrome ios mobile, ipa</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-Dropbox-chooser-integrated-with-a-react-webapp-not-working/m-p/741087#M32711</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1790788"&gt;@anas saifi&lt;/a&gt; As Здравко said, those "preview" shared links on &lt;A href="http://www.dropbox.com" target="_blank"&gt;www.dropbox.com&lt;/A&gt; point to a preview HTML page, not the file data itself, and do not support CORS.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to directly access the file data using CORS, you can use the "direct" link type (instead of "preview") when setting up &lt;A href="https://www.dropbox.com/developers/chooser" target="_blank"&gt;the Chooser&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2024 14:22:02 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-Dropbox-chooser-integrated-with-a-react-webapp-not-working/m-p/741087#M32711</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2024-01-04T14:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox chooser integrated with a react webapp not working when opened in chrome ios mobile, ipa</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-Dropbox-chooser-integrated-with-a-react-webapp-not-working/m-p/741094#M32712</link>
      <description>&lt;P&gt;Thank you so much. I hope it works.&lt;BR /&gt;I have one more question (Last one, promise), while creating an app on dropbox it asks for domain name but I am running my application on local host. How do I resolve it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2024 15:16:48 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-Dropbox-chooser-integrated-with-a-react-webapp-not-working/m-p/741094#M32712</guid>
      <dc:creator>anas saifi</dc:creator>
      <dc:date>2024-01-04T15:16:48Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox chooser integrated with a react webapp not working when opened in chrome ios mobile, ipa</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-Dropbox-chooser-integrated-with-a-react-webapp-not-working/m-p/741099#M32713</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1790788"&gt;@anas saifi&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;..., while creating an app on dropbox it asks for domain name but I am running my application on local host. ...&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;It doesn't ask for, but you need it for your Chooser. In such a case your domain is just localhost. &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;&lt;P&gt;Good luck.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2024 15:23:42 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-Dropbox-chooser-integrated-with-a-react-webapp-not-working/m-p/741099#M32713</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2024-01-04T15:23:42Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox chooser integrated with a react webapp not working when opened in chrome ios mobile, ipa</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-Dropbox-chooser-integrated-with-a-react-webapp-not-working/m-p/741107#M32714</link>
      <description>&lt;P&gt;Thank you so much. You are very down to earth&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2024 16:27:40 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-Dropbox-chooser-integrated-with-a-react-webapp-not-working/m-p/741107#M32714</guid>
      <dc:creator>anas saifi</dc:creator>
      <dc:date>2024-01-04T16:27:40Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox chooser integrated with a react webapp not working when opened in chrome ios mobile, ipa</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-Dropbox-chooser-integrated-with-a-react-webapp-not-working/m-p/741112#M32715</link>
      <description>&lt;P&gt;sorry but it didn't workout &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;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2024 16:34:41 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-Dropbox-chooser-integrated-with-a-react-webapp-not-working/m-p/741112#M32715</guid>
      <dc:creator>anas saifi</dc:creator>
      <dc:date>2024-01-04T16:34:41Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox chooser integrated with a react webapp not working when opened in chrome ios mobile, ipa</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-Dropbox-chooser-integrated-with-a-react-webapp-not-working/m-p/741113#M32716</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1790788"&gt;@anas saifi&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;sorry but it didn't workout &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;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Hm...&lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@9AD39CA637682E9616FBE31CDAF1B6C4/emoticons/1f914.png" alt=":thinking_face:" title=":thinking_face:" /&gt; What do you mean? There were number of mistakes... Did you fix all of them and what "didn't workout" exactly?&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2024 16:40:18 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-Dropbox-chooser-integrated-with-a-react-webapp-not-working/m-p/741113#M32716</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2024-01-04T16:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox chooser integrated with a react webapp not working when opened in chrome ios mobile, ipa</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-Dropbox-chooser-integrated-with-a-react-webapp-not-working/m-p/741120#M32717</link>
      <description>&lt;P&gt;First of all I harcoded the link and replaced&amp;nbsp;&lt;SPAN&gt;"&amp;amp;dl=0" with "&amp;amp;raw=1" with mode set to "no-cors".&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;const&lt;/SPAN&gt; &lt;SPAN&gt;response&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;await&lt;/SPAN&gt; &lt;SPAN&gt;fetch&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;&lt;A href="https://www.dropbox.com/scl/fi/p03jwhsifuo35nqdl5y6x/WhatsApp-Image-2023-10-13-at-12.55.24-PM.jpeg?rlkey=8dmxt9wn20us1k0yip9em4rji&amp;amp;raw=1" target="_blank"&gt;https://www.dropbox.com/scl/fi/p03jwhsifuo35nqdl5y6x/WhatsApp-Image-2023-10-13-at-12.55.24-PM.jpeg?rlkey=8dmxt9wn20us1k0yip9em4rji&amp;amp;raw=1&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;,{&lt;/SPAN&gt;&lt;SPAN&gt;mode&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;no-cors&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;console&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;log&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;response is&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;response&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;the following screenshot shows the response of the above call&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-01-04 222933.png" style="width: 242px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/43196iB28F0889F8753587/image-dimensions/242x222?v=v2" width="242" height="222" role="button" title="Screenshot 2024-01-04 222933.png" alt="Screenshot 2024-01-04 222933.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2024 17:01:40 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-Dropbox-chooser-integrated-with-a-react-webapp-not-working/m-p/741120#M32717</guid>
      <dc:creator>anas saifi</dc:creator>
      <dc:date>2024-01-04T17:01:40Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox chooser integrated with a react webapp not working when opened in chrome ios mobile, ipa</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-Dropbox-chooser-integrated-with-a-react-webapp-not-working/m-p/741123#M32718</link>
      <description>&lt;P&gt;Hm...&lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@9AD39CA637682E9616FBE31CDAF1B6C4/emoticons/1f914.png" alt=":thinking_face:" title=":thinking_face:" /&gt; Ok, everything seems fine. What's wrong? 🧐&lt;/P&gt;&lt;P&gt;You still haven't consumed the response content (i.e. the image): &lt;EM&gt;bodyUsed: false&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS: You question is not Dropbox API related, so take a look in some tutorial/documentation (like &lt;A title="The Response interface of the Fetch API represents the response to a request" href="https://developer.mozilla.org/en-US/docs/Web/API/Response" target="_blank" rel="noopener"&gt;here&lt;/A&gt;) how you can use such object.&lt;/P&gt;&lt;P&gt;Good luck.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2024 17:25:42 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-Dropbox-chooser-integrated-with-a-react-webapp-not-working/m-p/741123#M32718</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2024-01-04T17:25:42Z</dc:date>
    </item>
  </channel>
</rss>

