Comments
-
Dropbox doesn't offer an official API for checking if the Dropbox desktop app is running, but I'll pass this along as a feature request. You may be able to write some code to natively check if the Dropbox process is running, and start it if not, but that wouldn't be officially supported by Dropbox, so I'm afraid I can't…
-
That blog post is relatively old, and utilizes a mechanism we no longer support, per the note at the top. To answer your specific questions though, note that https://www.dropbox.com/oauth2/redirect_receiver does (without the "/1") does not appear in that post, and does not point to a valid page.…
-
@"G_Cougard" No, unfortunately I don't have any news on the request to expose access to this functionality.
-
The ListFolderContinueArg class represents the arguments that can be passed to listFolderContinue. You don't need to read the code for it. Please review the documentation for listFolder and listFolderContinue instead for information on how to use them.
-
Accessing the ListFolderResult.entries as returned by listFolder is the right way to begin listing the contents of a folder. Note that it is not guaranteed to return all of the results though. The interface is paginated, so you may need to call back to listFolderContinue to get more entries. (It also returns…
-
Inside of your own app, you control whether or not the user is "logged in". If/when the user indicates that they want to log out, you can have the app throw away any copy of the access token/client it has, and call DropboxClientsManager.unlinkClients to remove it from DropboxClientsManager. You can also optionally call…
-
To retrieve changes using SwiftyDropbox on iOS, you should use the listFolder and listFolderContinue methods. You can call back to listFolderContinue, passing in the latest cursor value you recieved, to retrieve any new changes. Also, you can use the listFolderLongpoll method to get low latency updates about when new…
-
1) Use of the API itself is actually entirely free. The API is built such that developers can create apps that (once in production mode) any Dropbox account can link to. The Dropbox accounts used with the app can be of any type (Basic, Plus, Professional, or Business.) It is only if the owners of any individual (or group…
-
That is also expected, as this endpoint requires the parameters be sent as JSON in the request body. Please refer to my earlier comment for links to documentation for this.
-
That output indicates that the issue is that you're using the "DELETE" method, which isn't allowed. The API expect the "POST" method. That's presumably due to the "-Method Delete" in your code; for POST you would likely need to set "-Method Post".
-
@"dolphin-newbie" Taking a closer look at the sample URL you shared, I see your 'origin' value is actually "https%3A%2F%2Fhttp://a9b7088a.ngrok.io", which decodes to "https://http://a9b7088a.ngrok.io". That's not valid, as it contains two protocols (both "https://" and "http://") for some reason. Can you check that you…
-
I believe your second version is closer, as it actually reads the body. (The first one doesn't appear to.) In both though, you're not actually printing out the result or saving it anyway. E.g., something like: Write-Output $responseBody
-
@"Sim_one" We'll need to take a closer look. Please open an API ticket with the following: * the version number of the Dropbox SDK you have installed * the output of getCurrentAccount * the output of listFolder with path="" * the code you're using to call for "Peter O'Brien" Thanks in advance!
-
@"jasskcet" That URL isn't currently returning a 400 for me, so it sounds like you already managed to get that sorted out. (E.g., by registering the domain, like in my last comment.) Also, we don't recommend copying and embedding your own copy of dropins.js, as then you won't get any updates we make to it. Finally, it is…
-
It sounds like you're referring to the feature of the official Dropbox desktop client where you can right click on a file or folder and choose "Copy Dropbox Link" to get a shared link for that file or folder. The Dropbox API doesn't offer a way to interact with the Dropbox desktop client itself, but you can use the Dropbox…
-
@"dolphin-newbie" It looks like the issue is that you don't have the domain you're running from pre-registered as a Dropbox Chooser/Saver domain on the app's page on the App Console. You need to pre-register the domain(s) you'll be using your app key on so that other people can't use your app key on their own sites. In…
-
Thanks @"markmeurer" !
-
The Dropbox API does require one of a certain set of Content-Type values for download calls like this. The official Dropbox.Api library (i.e., the official Dropbox API v2 .NET SDK) does automatically set a valid Content-Type, so you don't need to do that yourself when using it. It sounds like when you switch to Xamarin and…
-
Thanks for the report! I just tried this though, and it worked for me. I.e., I was able to call listFolder using the latest version of the official API v2 Objective-C SDK for a folder at "/Peter O'Brien" without issue. Are you sure that's the correct path for the folder, and that you're connected to the right account? If…
-
Can you print the response body as mentioned/linked in my last post? You'll want to retrieve the error message from it to debug things like this.
-
Thanks for following up. I'm glad to hear you were able to get this working. Yes, that previous access control setting would have prevented you from adding those other accounts, so it looks like this is working as expected.
-
Hey Rian, we don't have an option for enabling these for upload via the API, but I'll pass this along as a feature request.
-
Using the /2/files/delete_v2 endpoint is the right way to delete a folder. Calling it will be similar to /2/files/upload, but with some important differences. The /2/files/upload endpoint is a "content-upload" endpoint, so it takes the parameters as JSON in the "Dropbox-API-Arg" header. The /2/files/delete_v2 endpoint is…
-
Using a Dropbox Business API app with the "team member file access" permission is the right way to do this. That enables the app to use the "member file acces" feature, which includes the ability to create folders, share folders, and add members to shared folders. Can you share the full code to reproduce the…
-
Are you running on Google App Engine? If so, you should use GoogleAppEngineRequestor as documented here. Otherwise, you can consider switching to a JRE that does return javax.net.ssl.HttpsURLConnection objects for HTTPS network connections, as that would enable the SDK to implement better security for your Dropbox API…
-
First, to clarify your post's title, it's not possible to mount a shared folder from a "shared link". There are a few different types of sharing on Dropbox, and they work differently. The term "shared links" refers to the ability to send a link to any file or folder. These cannot be "mounted". The term "shared folders"…
-
Thanks for the further feedback @"ojnet" ! I'll be sure to follow up here if/when I have any news on this.
-
[Cross-linking for reference: https://stackoverflow.com/questions/52756880/error-400-while-using-dropbox-chooser-api ] Can you share the full URL of that page that's showing the 400 error? That would help us look into this. Thanks in advance!
-
@"jvelazquez1" It sounds like you're referring to the user limit that applies to apps in "development" mode. That's unrelated to the earlier discussion in this thread. You can increase that limit somewhat via the app's page on the App Console. To remove it entirely, you would need to apply for production. You can find more…
-
Users should not be entering their Dropbox username and password into your app, and your app should never prompt them to do so. Your app must implement the OAuth app authorization flow so that it can get an access token for each user, without ever seeing their Dropbox username and password. The app can use the resulting…