<?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: Unable to get events for shared files in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Unable-to-get-events-for-shared-files/m-p/473647#M24054</link>
    <description>Haha, good catch ! That's a risky workaround cuz there must be a reason it's hidden !</description>
    <pubDate>Thu, 26 Nov 2020 15:53:22 GMT</pubDate>
    <dc:creator>apo1397</dc:creator>
    <dc:date>2020-11-26T15:53:22Z</dc:date>
    <item>
      <title>Unable to get events for shared files</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Unable-to-get-events-for-shared-files/m-p/473606#M24048</link>
      <description>&lt;P&gt;I have an application which uses the API&amp;nbsp;files/list_folder/longpoll to fetch any changes to the account and then I use files/list_folder/continue with the cursor (&lt;/P&gt;&lt;PRE&gt;DbxClientV2.files().listFolderContinue(cursor); is the method in the Java SDK&lt;/PRE&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;to get the files which were changed. This works perfectly for the files owned the user.&lt;BR /&gt;&lt;BR /&gt;In case of a file being shared to an account this API returns changes:true but listFolderContinue returns an empty array.&lt;BR /&gt;I even tried using the APIs in sharing (sharing/list_folder etc) with the cursor I have but it throws an exception for "Inavlid Cursor"&lt;BR /&gt;&lt;BR /&gt;According to the documentation for &lt;A href="https://www.dropbox.com/lp/developers/reference/detecting-changes-guide" target="_self"&gt;detecting changes,&lt;/A&gt;&lt;/P&gt;&lt;PRE&gt;methodologies described above will allow you detect changes to files themselves, but will not indicate changes to sharing settings or other metadata.&lt;/PRE&gt;&lt;P&gt;So is there a way to get the cursor for "shared files" ?&lt;BR /&gt;I also looked into the Business APIs but found that the Java SDK doesnt have APIs for that, is there another sdk that I should use ?&lt;BR /&gt;&lt;BR /&gt;According to this article by Dropbox&amp;nbsp;&lt;A href="https://dropbox.tech/developers/manage-team-sharing-in-your-dropbox-app" target="_self"&gt;https://dropbox.tech/developers/manage-team-sharing-in-your-dropbox-app&lt;/A&gt;&lt;BR /&gt;It says to&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;1. Create a new app from your&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://www.dropbox.com/developers/apps" target="_blank" rel="noopener"&gt;App console&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Select ‘Dropbox Business API’&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Select ‘Team member management’&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4. Name your app and click ‘Create app’&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;But there's no option to select 'Dropbox Business API' (please refer screenshot)&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2020-11-26 at 6.47.09 PM.png" style="width: 400px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/19315i0C209B5CB9B24722/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2020-11-26 at 6.47.09 PM.png" alt="Screenshot 2020-11-26 at 6.47.09 PM.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Nov 2020 13:18:57 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Unable-to-get-events-for-shared-files/m-p/473606#M24048</guid>
      <dc:creator>apo1397</dc:creator>
      <dc:date>2020-11-26T13:18:57Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get events for shared files</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Unable-to-get-events-for-shared-files/m-p/473619#M24050</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1379021"&gt;@apo1397&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;...&lt;BR /&gt;But there's no option to select 'Dropbox Business API' ...&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Hi &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1379021"&gt;@apo1397&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;That's really annoying! Seems application type gets limited in creation time, not clearly defined why. A workaround would be force 'unhiding' of target option (Team member management). Take a look on the screenshot:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="изображение.png" style="width: 801px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/19316i96AA573A029E52C2/image-size/large?v=v2&amp;amp;px=999" role="button" title="изображение.png" alt="изображение.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Nov 2020 14:28:37 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Unable-to-get-events-for-shared-files/m-p/473619#M24050</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2020-11-26T14:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get events for shared files</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Unable-to-get-events-for-shared-files/m-p/473647#M24054</link>
      <description>Haha, good catch ! That's a risky workaround cuz there must be a reason it's hidden !</description>
      <pubDate>Thu, 26 Nov 2020 15:53:22 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Unable-to-get-events-for-shared-files/m-p/473647#M24054</guid>
      <dc:creator>apo1397</dc:creator>
      <dc:date>2020-11-26T15:53:22Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to get events for shared files</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Unable-to-get-events-for-shared-files/m-p/473941#M24072</link>
      <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;So is there a way to get the cursor for "shared files" ?&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;No, unfortunately there isn't a way to get a cursor/longpoll for shared files from another account like that exactly,&amp;nbsp;but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. It's only possible to monitor changes actually in the connected account.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;According to this article by Dropbox &lt;A href="https://dropbox.tech/developers/manage-team-sharing-in-your-dropbox-app" target="_blank" rel="noopener"&gt;https://dropbox.tech/developers/manage-team-sharing-in-your-dropbox-app&lt;/A&gt;&lt;BR /&gt;It says to &lt;BR /&gt;1. Create a new app from your App console&lt;BR /&gt;2. Select ‘Dropbox Business API’&lt;BR /&gt;3. Select ‘Team member management’&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;That post is old and out of date now. You no longer need to register a&amp;nbsp;Dropbox Business API app with a specific Business permission, such as "Team member management" or "Team member file access" like that. You should instead just register a "scoped" app with the "Full&amp;nbsp;Dropbox" access type, which can be used to access both user and team (Business) functionality, by enabling whichever scopes you need.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example, to connect to a team and use &lt;A href="https://www.dropbox.com/developers/documentation/http/teams#teams-member-file-access" target="_self"&gt;the "Member file access" feature&lt;/A&gt; to access the files of any member of the team, you would enable the "team_data.member" scope.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;A workaround would be force 'unhiding' of target option (Team member management).&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Do not modify the&amp;nbsp;Dropbox web site. Any result of doing so would not be officially supported. Please use&amp;nbsp;the "scoped" app functionality as described above to enable access to whatever features you need.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Nov 2020 16:54:39 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Unable-to-get-events-for-shared-files/m-p/473941#M24072</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-11-27T16:54:39Z</dc:date>
    </item>
  </channel>
</rss>

