<?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: API doesn't allow shared links from not owner in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-doesn-t-allow-shared-links-from-not-owner/m-p/520168#M25382</link>
    <description>&lt;P&gt;Using the &lt;A href="https://github.com/dropbox/dropbox-sdk-python" target="_self"&gt;Dropbox API v2 Python SDK&lt;/A&gt;, you should be able to use the &lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/api/dropbox.html#dropbox.dropbox_client.Dropbox.sharing_get_shared_link_metadata" target="_self"&gt;sharing_get_shared_link_metadata&lt;/A&gt; and &lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/api/dropbox.html#dropbox.dropbox_client.Dropbox.sharing_get_shared_link_file" target="_self"&gt;sharing_get_shared_link_file&lt;/A&gt;/&lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/api/dropbox.html#dropbox.dropbox_client.Dropbox.sharing_get_shared_link_file_to_file" target="_self"&gt;sharing_get_shared_link_file_to_file&lt;/A&gt; methods to get the metadata and file data, respectively, from a shared link, as long as the links settings allow it (e.g., it's publicly accessible), even if you're not using an access token for the shared link owner.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you share the relevant code you're running and the error/output you're getting so I can take a look and get a better idea of specifically what's not working for you? It may be helpful if you can share a sample shared link, but please don't share any access tokens. Thanks!&lt;/P&gt;</description>
    <pubDate>Thu, 13 May 2021 17:37:16 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2021-05-13T17:37:16Z</dc:date>
    <item>
      <title>API doesn't allow shared links from not owner</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-doesn-t-allow-shared-links-from-not-owner/m-p/520139#M25380</link>
      <description>&lt;P&gt;I have a python script to pull and process team data where the I (a.k.a. developer) processes data using a shared link pasted in by a team member.&amp;nbsp; The goal is to process data supplied by team on a server.&amp;nbsp; Fun fact.&amp;nbsp; I can only process data using a public shared link that I created.&amp;nbsp; &amp;nbsp; What permissions/settings are required so that I can pull data using the api and a shared link that I didn't personally create?&amp;nbsp; Why are permissions on public links overridden by API?&amp;nbsp; I can access the data from the links if I don't use the API, but that defeats the purpose.&amp;nbsp; I've tried modifying the shared link settings, but neither I nor the team admin are authorized to do this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 May 2021 16:15:00 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-doesn-t-allow-shared-links-from-not-owner/m-p/520139#M25380</guid>
      <dc:creator>brookesteele</dc:creator>
      <dc:date>2021-05-13T16:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: API doesn't allow shared links from not owner</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-doesn-t-allow-shared-links-from-not-owner/m-p/520168#M25382</link>
      <description>&lt;P&gt;Using the &lt;A href="https://github.com/dropbox/dropbox-sdk-python" target="_self"&gt;Dropbox API v2 Python SDK&lt;/A&gt;, you should be able to use the &lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/api/dropbox.html#dropbox.dropbox_client.Dropbox.sharing_get_shared_link_metadata" target="_self"&gt;sharing_get_shared_link_metadata&lt;/A&gt; and &lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/api/dropbox.html#dropbox.dropbox_client.Dropbox.sharing_get_shared_link_file" target="_self"&gt;sharing_get_shared_link_file&lt;/A&gt;/&lt;A href="https://dropbox-sdk-python.readthedocs.io/en/latest/api/dropbox.html#dropbox.dropbox_client.Dropbox.sharing_get_shared_link_file_to_file" target="_self"&gt;sharing_get_shared_link_file_to_file&lt;/A&gt; methods to get the metadata and file data, respectively, from a shared link, as long as the links settings allow it (e.g., it's publicly accessible), even if you're not using an access token for the shared link owner.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you share the relevant code you're running and the error/output you're getting so I can take a look and get a better idea of specifically what's not working for you? It may be helpful if you can share a sample shared link, but please don't share any access tokens. Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 13 May 2021 17:37:16 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-doesn-t-allow-shared-links-from-not-owner/m-p/520168#M25382</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2021-05-13T17:37:16Z</dc:date>
    </item>
    <item>
      <title>Re: API doesn't allow shared links from not owner</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-doesn-t-allow-shared-links-from-not-owner/m-p/520180#M25383</link>
      <description>&lt;P&gt;My solution was to use&amp;nbsp; the force download option of my shared link and just download it w/o using the dropbox api.&amp;nbsp; In my case, the api is unnecessary.&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;import requests&lt;BR /&gt;&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;    force_link =external_link.replace(&lt;SPAN&gt;'=0'&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;'=1'&lt;/SPAN&gt;)&lt;BR /&gt;    r = requests.get(force_link&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;stream&lt;/SPAN&gt;=&lt;SPAN&gt;True&lt;/SPAN&gt;)&lt;BR /&gt;&lt;SPAN&gt;    with &lt;/SPAN&gt;&lt;SPAN&gt;open&lt;/SPAN&gt;(dest_file&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;"wb"&lt;/SPAN&gt;) &lt;SPAN&gt;as &lt;/SPAN&gt;video:&lt;BR /&gt;&lt;SPAN&gt;    for &lt;/SPAN&gt;chunk &lt;SPAN&gt;in &lt;/SPAN&gt;r.iter_content(&lt;SPAN&gt;chunk_size&lt;/SPAN&gt;=&lt;SPAN&gt;1024&lt;/SPAN&gt;):&lt;BR /&gt;&lt;SPAN&gt;    if &lt;/SPAN&gt;chunk:&lt;BR /&gt;        video.write(chunk)&lt;BR /&gt;&lt;SPAN&gt;   return&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 May 2021 18:10:15 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-doesn-t-allow-shared-links-from-not-owner/m-p/520180#M25383</guid>
      <dc:creator>brookesteele</dc:creator>
      <dc:date>2021-05-13T18:10:15Z</dc:date>
    </item>
  </channel>
</rss>

