Greg-DB Dropbox Community Moderator

Comments

  • Yes, Dropbox does offer an API you can use for programmatically interacting with Dropbox lke this. You can find everything you need to get started with the Dropbox API, including documentation, tutorials, and SDKs here: https://www.dropbox.com/developers Specifically, to create a shared link to any file or folder, you can…
  • I'm not sure I understand your question. Can you clarify what you're asking? Thanks in advance! 
  • Are you sure you have both the right path, as well as the right namespace (in the "Dropbox-Api-Path-Root" header)? I can't see the full values from your screenshot. If you'd like us to check on this specifically for you, please feel free to open an API ticket with the full code (use the "Show Code" button), but please…
  • Thanks for the report! We'll look into it.
  • It looks like there are a few different pieces of functionality here that you may be referring to, so first, to clarify: * You mention the 'get_temporary_link' endpoint in your post title. That refers to the /2/files/get_temporary_link endpoint. That can only be used to get temporary direct links to individual files, but…
  • For reference, it looks like this is related to this earlier post, in case anyone is looking for more context: https://www.dropboxforum.com/t5/Discuss-Developer-API/Critical-New-quot-Verification-as-real-person-quot-captcha-Work/m-p/358012#M696 Anyway, as I covered somewhat there, the Dropbox website, including the login…
  • Dropbox has an abuse detection system in place to detect and prevent automated logins to help protect our users. It uses a variety of factors to decide whether or not to display a captcha or verification challenge like this, so whether or not you see it, or exactly what you see, may vary over time. Dropbox doesn't provide…
  • First, if you're not already, we recommend using the official Dropbox API v2 JavaScript SDK. Using that, if you want to directly access file data, the standard way to do so is using the filesDownload method. You can access the resulting file data via the 'fileBlob' field on the returned object, the same as shown in this…
  • @"ankon111" If/when a user unlinks an app from their account, any further API calls using an access token for that account and app will fail with a 401 error status. You can find more information about the different error cases in the documentation here:…
  • That's not part of the Dropbox API itself, so I'm afraid I can't answer questions regarding that. If you have any questions regarding that though, please feel free to open an issue there. (If you don't get an answer after a few days, let me know and I'll try to track down the right people to answer it.)
  • The SDKs weren't designed with the intention that a single app would use both of them, but I can't say off hand if doing so would or wouldn't cause issues. I don't believe we've explicitly tested that. You generally can import Objective-C into Swift though. Here's Apple's documentation for doing so:…
  • Thanks for the additional information! Based on that description, you are referring to a team using the older non-"team space" configuration. (Please refer to the links in my earlier message for more information on that.) In that older configuration, the team can create multiple different team folders. In the new "team…
  • That's correct, you can certainly own a Dropbox API app on a Basic or Plus Dropbox account if you wish. Please refer to the developer terms for the full terms and conditions of using the Dropbox platform: https://www.dropbox.com/developers/reference/tos
  • In that case, it sounds like you do want access to both Dropbox Business API functionality (to list and access all members of the team) if it is a Business team, as well the Dropbox API functionality, if it's not a Business account. In that case, yes, you would need to register and use two apps: a Dropbox Business API app…
  • This depends on what piece(s) of functionality you want exactly. Can you elaborate on what you want to build? For example, if you just want to interact with the files in the end-user's account, you just need one "Dropbox API" app with the "app folder" or "full Dropbox" permission. That can be used by both Business and…
  • Exactly how you should set this up depends on what exactly you want to enable for your app. If you want any kind of Dropbox account to each be able to connect to your app, you should register a "Dropbox API" app with the "app folder" or "full Dropbox" permission. Whether or not the end-user has a Business account, they…
  • @"Здравко" No, the Dropbox API only supports characters in the Unicode Basic Multilingual Plane. I'll pass this along as a feature request though!
  • It sounds like you might be referring to a team on the older non-"team space" Dropbox Business configuration, where team folder(s) were rooted inside each member's home folder. (This isn't based on the service level of the Business plan.) We're migrating to the team space model, and there isn't a way to easily toggle or…
  • First, to clarify, do you have the official Dropbox API v2 Objective-C SDK installed in your project, and that's what you're trying to call from the Swift code? If so, and you're able to run this code and get a -999 error, I suspect you actually have that loaded successfully already. (I would expect it to fail in a…
  • Yes, if your app is now in "production", any number of Business teams can now connect to it. (You should have received an automated email to the email address on the Dropbox account that owns the app when it was switched to production, but it sounds like that didn't make it to you unfortunately.)
  • It sounds like you're referring to what kind of Dropbox account should "own" the API app itself, is that correct? (The account that "owns" the app is the one that can access the app's information and configuration page on the App Console.) The particular kind of account that owns the app doesn't really matter. Any kind…
  • @"Здравко" I can only provide support for the Dropbox API itself, not the Dropbox website, so I'm afraid I can't offer insight on your question.
  • When/where are you calling authorizeFromController? This error message generally indicates that the authorization window can't be displayed because it relies on yourViewController, but theViewController wasn't in the window hierarchy (yet?) at time of the call. Perhaps your ViewController wasn't presented (or was already…
  • @"CFGtech" Thanks for the report! It sounds like you're referring to making content-upload or -download calls on the Dropbox API, where you have non-ASCII characters to send in the 'Dropbox-API-Arg' HTTP header. You can do so, but you'll need to make sure you're encoding those characters before putting them in the HTTP…
  • No, unfortunately the Dropox API doesn't offer a way to upload just the changed parts of existing files, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. 
  • Your first screenshot shows the view of a member of a team that is using the new "team space" configuration. Your second screenshot shows one not using the team space configuration. When using the team space configuration, you can list the contents of just the team member's folder, not the team space,…
  • Can you share the code and error output you're getting for these timeouts so we can take a look? Thanks!
  • Thanks for confirming that! I just tried it and got the same behavior. I'll look into this and follow up here once I have an update for you.
  • This should be fixed now. Please try this with /2/sharing/get_shared_link_file again and let me know if you're still seeing any issues.
  • This should be fixed now. Please try this with /2/sharing/get_shared_link_file again and let me know if you're still seeing any issues.