<?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: Issue with access files in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Issue-with-access-files/m-p/355516#M20303</link>
    <description>the app receives the webhook notification for that user and looks like up the access token and last received cursor for that account ID&lt;BR /&gt;&lt;BR /&gt;From webhook notification i onlt got account id and delta user, so where i need to use these information ??&lt;BR /&gt;&lt;BR /&gt;I got access token from token api after authentication and i use this key for list_folder and list_folder/continue&lt;BR /&gt;&lt;BR /&gt;I got files changes when i use api , but i want to know where i need to use webhook information that i received .</description>
    <pubDate>Tue, 16 Jul 2019 18:29:31 GMT</pubDate>
    <dc:creator>ankushkatiyar</dc:creator>
    <dc:date>2019-07-16T18:29:31Z</dc:date>
    <item>
      <title>Issue with access files</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Issue-with-access-files/m-p/355383#M20295</link>
      <description>&lt;P&gt;Hello i want to access changed files in dropbox , so i created a webhook&amp;nbsp;&lt;/P&gt;
&lt;TABLE&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;A href="https://dpintegration.herokuapp.com/webhook" target="_blank" rel="noopener"&gt;https://dpintegration.herokuapp.com/webhook&lt;/A&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;and also i got data according to instruction mentioned in webhooks section&lt;/P&gt;
&lt;PRE&gt;{ list_folder: { accounts: [ 'dbid:AACWK8UMlcqEvIjOCfL8gQrmy1uJvS8zzlE' ] },delta: { users: [ 542524594 ] } }&amp;nbsp;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;and i'm not using "&lt;SPAN&gt;Dropbox Business API"&lt;/SPAN&gt; , i'm using "&lt;SPAN&gt;Dropbox API"&lt;/SPAN&gt;&amp;nbsp;.&lt;BR /&gt;and according to instruction mentioned in webhook section we need to use&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;SPAN&gt;Note that only the user IDs and accounts with file changes are provided. Your app is expected to call&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://www.dropbox.com/developers/documentation/http#documentation-files-list_folder-continue" target="_blank" rel="noopener"&gt;/files/list_folder/continue&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;to find out what files changed using the latest&amp;nbsp;&lt;/SPAN&gt;cursor&lt;SPAN&gt;&amp;nbsp;your app previously stored for that account. If your app is still using v1, you can call&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://www.dropbox.com/developers-v1/core/docs#delta" target="_blank" rel="noopener"&gt;/delta&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;But when i'm using api call&amp;nbsp;&lt;SPAN&gt;/list_folder i got all files and folders , and when i use "Dropbox-Api-Select-Admin"&amp;nbsp; in Header than i got "Error in call to API function "files/list_folder": Unexpected select user header. Your app does not have permission to use this feature" , so i need to use business api for access files ?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Need solution for this problem how i get changed files by user , please provide me perfect solution for access this&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2019 07:56:52 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Issue-with-access-files/m-p/355383#M20295</guid>
      <dc:creator>ankushkatiyar</dc:creator>
      <dc:date>2019-07-16T07:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with access files</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Issue-with-access-files/m-p/355387#M20297</link>
      <description>&lt;P&gt;Also i collect latest curser using&amp;nbsp;&lt;SPAN&gt;&lt;A href="https://api.dropboxapi.com/2/files/list_folder" target="_blank"&gt;https://api.dropboxapi.com/2/files/list_folder&lt;/A&gt; and than i call&amp;nbsp;&lt;A href="https://api.dropboxapi.com/2/files/list_folder/continue" target="_blank"&gt;https://api.dropboxapi.com/2/files/list_folder/continue&lt;/A&gt;, so i get all files that changed after pick curser and i use token in header .&lt;BR /&gt;&lt;BR /&gt;So what is use of&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;{ list_folder: { accounts: [ 'dbid:AACWK8UMlcqEvIjOCfL8gQrmy1uJvS8zzlE' ] },delta: { users: [ 542524594 ] } }&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;we get from webhook post request ?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;because we got data directly using token.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Suppose we upload 50 files so via get we get 50 files&amp;nbsp;&lt;SPAN&gt;&lt;A href="https://api.dropboxapi.com/2/files/list_folder/continue" target="_blank"&gt;https://api.dropboxapi.com/2/files/list_folder/continue&lt;/A&gt; (&amp;nbsp; using previous cursor ), if i want to get current modified file so i need to store previous cursor first and than use api call ?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;For this process we need to use&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;{ list_folder: { accounts: [ 'dbid:AACWK8UMlcqEvIjOCfL8gQrmy1uJvS8zzlE' ] },delta: { users: [ 542524594 ] } }&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2019 08:21:22 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Issue-with-access-files/m-p/355387#M20297</guid>
      <dc:creator>ankushkatiyar</dc:creator>
      <dc:date>2019-07-16T08:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with access files</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Issue-with-access-files/m-p/355509#M20302</link>
      <description>&lt;P&gt;First, to clarify, if you're only using a&amp;nbsp;Dropbox API app, not a&amp;nbsp;Dropbox Business API app, you should not use the "Dropbox-API-Select-Admin". You can access the&amp;nbsp;Dropbox API endpoints, such as the list_folder endpoints, without that header.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The basic flow for using webhooks with list_folder would go like this:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;the user connects to the app for the first time&lt;/LI&gt;
&lt;LI&gt;the app stores the access token for that user, identified by the&amp;nbsp;Dropbox account ID&lt;/LI&gt;
&lt;LI&gt;the app starts listing the files and folders for the user using&amp;nbsp;/2/files/list_folder and&amp;nbsp;/2/files/list_folder/continue as necessary&lt;/LI&gt;
&lt;LI&gt;the app stores the last returned cursor for that user, identified by the&amp;nbsp;Dropbox account ID&lt;/LI&gt;
&lt;LI&gt;the user leaves and some time passes&lt;/LI&gt;
&lt;LI&gt;the user makes changes elsewhere&lt;/LI&gt;
&lt;LI&gt;Dropbox sends the webhook notification for that user with the relevant account ID to the app's webhook URI&lt;/LI&gt;
&lt;LI&gt;the app receives&amp;nbsp;the webhook notification for that user and looks like up the access token and last&amp;nbsp;received cursor for that account ID&lt;/LI&gt;
&lt;LI&gt;the app calls&amp;nbsp;/2/files/list_folder/continue with that access token and cursor to get the latest changes&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Tue, 16 Jul 2019 18:03:15 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Issue-with-access-files/m-p/355509#M20302</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2019-07-16T18:03:15Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with access files</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Issue-with-access-files/m-p/355516#M20303</link>
      <description>the app receives the webhook notification for that user and looks like up the access token and last received cursor for that account ID&lt;BR /&gt;&lt;BR /&gt;From webhook notification i onlt got account id and delta user, so where i need to use these information ??&lt;BR /&gt;&lt;BR /&gt;I got access token from token api after authentication and i use this key for list_folder and list_folder/continue&lt;BR /&gt;&lt;BR /&gt;I got files changes when i use api , but i want to know where i need to use webhook information that i received .</description>
      <pubDate>Tue, 16 Jul 2019 18:29:31 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Issue-with-access-files/m-p/355516#M20303</guid>
      <dc:creator>ankushkatiyar</dc:creator>
      <dc:date>2019-07-16T18:29:31Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with access files</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Issue-with-access-files/m-p/355544#M20306</link>
      <description>&lt;P&gt;The webhook notification includes the account ID of the user who had changes in their account. You can use that account ID to look up the user in your app so you know which one to update. This means you do need to record the&amp;nbsp;Dropbox account IDs originally, but exactly how you manage your app's user model and database is up to you of course.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2019 20:56:49 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Issue-with-access-files/m-p/355544#M20306</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2019-07-16T20:56:49Z</dc:date>
    </item>
  </channel>
</rss>

