-
.NET Exchange authorization code
I'm using on my application the following: DropboxOAuth2Helper.GetAuthorizeUri(<client_key>); This shows an authorization code on the browser. Once pasted back to the app, I can't find anywhere how to exchange it for an access token. I'm using c# on desktop app.
-
Metadata instanceof DeletedMetadata and FileMetadata
Hello, I would like to know if there's any way of check if the Metadata of a certain entry is of type DeletedMetadata and FileMetada but not FolderMetadata. Like the following: if (entry instanceof DeletedMetadata && entry instanceof FileMetadata) { log.info("Deleted file: "+entry.getPathLower()); } That's why I only store…
-
List all files on dropbox using API v2
I would like to list all files on dropbox using API v2. Some example with java would be really nice. Currently I'm doing the following: public String syncFiles(DbxClientV2 client) throws ListFolderErrorException, DbxException { ListFolderBuilder listFolderBuilder = client.files().listFolderBuilder(""); ListFolderResult…
-
Dropbox files/list_folder behaviour
Hello, Actually I'm building an app that needs notifications when a file is created, modified or deleted. I have a webhook configured correctly. I just need notifications about these files, not the entire dropbox. I've tryed with /files/list_folder but it gives information of all files on a certain path and I don't want…
-
Webhook Cursor
Hello, I don't get what is a cursor. What does Cursor on webhook? There is any example in java with a Cursor? I'm making an app that just need to know the files that the users has in the application folder. I need webhook because i need to notify my application if there's a new file or deleted file, but I don't get what is…
-
Error (400) with redirect_uri
I have the following api: guest1:8080/DropboxRest/app/dropbox/start: this url initializes everything and goes to dropbox for getting an access token. guest1:8080/DropboxRest/app/dropbox/finish: this is the redirect_uri where dropbox have to redirect. Instead of that, I obtain a 400 error. I've declared this url on Oauth2…