Comments
-
Yes. You can get a basic idea of how it works by looking through the tutorial: https://www.dropbox.com/developers/sync/start/ios
-
Both the Sync API and the Core API offer the ability to upload and download files to and from Dropbox, so either should work in this case. Can you elaborate on any specific issues you're experiencing? Regarding your "database structure", this is probably also possible, depending on what exactly you mean and what you want…
-
The PHP Core SDK doesn't currently offer a way to track progress on file uploads using uploadFile, but I'll be sure to pass this along as a request. For reference, the uploadFile method just blocks until the upload is complete. Alternatively, especially for larger files, you may want to use the "chunked uploading" methods…
-
It looks like there was a network issue connecting to the Dropbox API. Are you still getting the error? If so, there's likely a problem with the network connection on that machine preventing you from connecting to api.dropbox.com. Do you know if there's any security software, firewall, etc. that may be doing so? You can…
-
Hi David, it looks like you also posted this on StackOverflow, so I've answered there: https://stackoverflow.com/questions/35659454/swiftydropbox-download-progress/35659995#35659995 (For reference, I believe this works for uploads too, but for uploading large files upload sessions, as Leah referred to, are preferred…
-
This topic is generally meant for the Dropbox API, so as this question isn't related to Dropbox API, it might not be the best place for help with this, which is more about iOS APIs. That said, I believe the Dropbox for iOS app does support both the old "Open In" behavior, as well as the newer iOS 8 share extensions. For…
-
Thanks for posting this Luiz! That's correct, it's now possible to get the profile picture in API v2 via profile_photo_url returned by /users/get_current_account.
-
Unfortunately, no, it's not currently possible to get the profile picture via the API, but I'll be sure to pass this along as a request.
-
Which SDK are you using? The API does have /thumbnails for downloading different sizes of images.
-
The Sync SDK and the Datastore SDK are actually the same SDK. They're literally the same downloads, but the functionality is documented separately since the use cases are often different. But yes, you can use both datastores and file (Sync) functionality in the same app. If you run into any issues, post the details and…
-
For context, is this a web app that users will be accessing over the internet? If so, you should return a redirect (instead of opening the browser on the system) to send the user to the authorize page, and use the callback to send the user back to your app, so that it all uses the same tab. If this is a desktop app, there…
-
Hi Sherry, it sounds like you’re experiencing an issue with a third party application. Please reach out to the support organization for that app for help. If the developers of this app are having any trouble with the Dropbox API itself, they can reach out to Dropbox developer support directly with the relevant technical…
-
Hi Dana, this thread is about an issue with the Dropbox API for developers. If you're not a developer programming an app, the Bugs & Troubleshooting forum would be a better place for help with your error.
-
In your first post you mentioned the error occurred on the second run. Are you only getting the error the second time, or do you also get the error on the first attempted use of a new authorization code? If it's the first use, can you post your code and output?
-
Andrew, your post seems unrelated to this thread, so you'll likely be better served in the Bugs & Troubleshooting section: https://www.dropboxforum.com/hc/en-us/community/topics/200203389-Bugs-Troubleshooting
-
Chan, You're getting this error because each "authorization code" that you exchange for the access token is short-lived (just a few minutes) and can only be used once, so you can only use each one once, soon after retrieving it. After that, you can just store and re-use the resulting access token that your app receives…
-
Thanks! I'm working on reproducing this, but I can't seem to get the SDK to give me a URL that doesn't have the "https://" at the beginning, which seems to be the important difference, per the exception in your posted log. The URL is built by RESTUtility.buildURL in com/dropbox/client2/RESTUtility.java. That only returns…
-
Can you let us know more about the devices where you see this? I.e.: * What version(s) of Android are they running? * What browsers are available, and what versions are they?
-
Thanks for the report! We'll look into it.
-
(By the way, it looks like this was just moved to the API Development forum. For future reference, be sure to post in the API Development forum to get it routed to the right people quickly.) I'll be happy to help with this, but I'll need some more information: - the exact steps to reproduce the issue - the full text of…
-
Dropbox itself doesn't offer a Magento integration, so you may want to investigate third party solutions that offer such an integration for Dropbox and Magento. I can't recommend any, but perhaps someone else on the forum can. Alternatively, if you're a programmer and want to develop an integration yourself, you can do so…
-
I'm not sure I understand the issue you're seeing. The /files (GET) endpoint just returns the raw data for the requested file in the body of the response. Can you share your code, along with a sample request and response?
-
[Cross-linking for reference: https://stackoverflow.com/questions/30044327/how-can-i-detect-the-particular-given-dropbox-path-is-file-or-not-using-android ] The isDir field on DropboxAPI.Entry tells you if the Entry is a file or folder.
-
We generally get to all production requests within a few business days. Note that we just had a long holiday weekend though so we may be a little delayed currently.
-
Unfortunately the API and app don't currently expose mobile device management options like this, but I'll be sure to pass this along as feedback.
-
The app authorization dialog is actually just a web page on www.dropbox.com, so the connections you're seeing (e.g., to load whatever assets and scripts used on the site) from that aren't from the SDK itself exactly, but from the Dropbox web site in that in-app browser. The iOS Core SDK is open source so you can check the…
-
No update on this.
-
I'm not aware of any plans to do so, but I'm sending this along as a request. (As a workaround I suppose you could download the dropin.js file and include that directly, but that's probably not recommended as you won't automatically receive updates of course.)
-
You could replicate what the SDK does, though it'd be safer to just use the standard OAuth flow, since the SDK flow isn't documented. By the way, on iOS, if you use an OAuth flow, make sure to use the disable_signup parameter to comply with Apple's guidelines.
-
We don't currently have any documentation for the app authorization flow built in to the official Dropbox mobile apps, but I'll be sure to pass this along as a request for that. That flow is handled for you in the SDKs, but if you're not using one of the SDKs, you'll need to use an OAuth 1 or OAuth 2 flow instead: OAuth 1:…