Comments
-
Can you post the code and full output for the "Class 'Path' not found" error? The path you use with getThumbnail is the relative path inside Dropbox, e.g.,/images/20131205_204518.jpg. You can get information about the contents of folders, including the paths you need for getThumbnail, by using _getMetadataWithChildren or…
-
The Core API would be the best choice for this. You can find the official PHP SDK for the Core API here: https://www.dropbox.com/developers/core/sdks/php There's a getting started guide here: https://www.dropbox.com/developers/core/start/php The full documentation is here:…
-
What do you mean when you say it's not working? The first version of your link has a 200 code with a 404 page as described earlier in this thread, but the second version of the link does have a 403 code that you can detect programmatically. In any case, we do have a better way to check links like this now. You can use the…
-
Unfortunately, we don't currently have a good way to detect this programmatically, but I'll be sure to pass this along as a request. The only workaround right now would be to change the hostname from www.dropbox.com to dl.dropboxusercontent.com. The response on the latter would give a success or failure response code, but…
-
Unfortunately we don't have specific documentation for resources for doing so Gerardo, but if I recall correctly from the last time I did it, you need to remove all of the files with filenames that refer to OS X (assuming it's an iOS app), and add -fno-objc-arc to the SDK files, if your project uses ARC. There was a thread…
-
That's correct Gerardo. We'll consider this a feature request. (Note that the SDK is open source though, so you could add the source directly and modify it as desired.)
-
To be clear, the deduplication isn't the only optimization the desktop client makes, so it still isn't a perfect comparison. There is some overhead when using chunked uploading, as you have to make a new HTTP request for each chunk. You can increase the chunk size you're using to reduce that impact, albeit at the cost of…
-
Hi Nicolas, the client isn't a good comparison as it doesn't use the Dropbox API and it performs many different optimizations. (For example, it doesn't have to upload a file again if the user already uploaded the same data.) Anyway, the speed you see on the API will be very dependent on your network connection, but doesn't…
-
Robert's right, there are various factors involved here, but generally the main contributor to how fast files can be sent back or forth is your Internet connection. All of the Dropbox servers are located in the US. Your connection speed to Dropbox depends on the routing you get between your ISP and our servers, and may be…
-
Right, since the token works with the HTTP interface and not the Java SDK, perhaps it is getting corrupted while being passed to the SDK. That is, I'd try adding some logging to make sure dla.getOAuth2AccessToken().toString() is working and returning the right thing.
-
Dropbox API access tokens don't automatically expire, but there are a few ways they can be revoked: * by the user via https://www.dropbox.com/account/security * by the user deleting the app folder (if the app uses the app folder permission) * by the app calling /disable_access_token (…
-
* That's correct, that's one of the main security concerns with this scenario. Since a client-side app can't actually protect a secret, like your access token, someone with the app could extract your access token and access your account, e.g., to download or edit files they shouldn't. * There are bandwidth limits on shared…
-
The API was designed with the intention that each user would link their own Dropbox account, in order to interact with their own files. However, it is technically possible to connect to just one account. The SDKs don't offer explicit support for it and we don't recommend doing so, for various technical and security…
-
The Sync and Core SDKs do handle the app authorization flow somewhat differently as you pointed out. I'll be sure to send this along as feedback, but for now we recommend implementing the authorization flow as shown in the tutorial.
-
[Cross-linking for reference: https://stackoverflow.com/questions/30027098/xamarin-mac-aplication-doesnt-react-when-i-try-to-allow-it-in-dropbox ] Hi Ivan, it looks like we already started a discussion about this on StackOverflow, so I'll continue the conversation there.
-
[Cross-linking for reference: https://stackoverflow.com/questions/31294490/is-there-concurrent-requests-limit-for-file-upload-download-using-dbrestclient ] I don't believe there's a connection limit built into the SDK, and so you may certainly encounter -1001 errors (time outs) if you run many connections simultaneously.…
-
Bob, we have a new release of the iOS Core SDK built with bitcode: https://www.dropbox.com/developers-v1/core/sdks/ios
-
Sorry, no sarcasm intended. I just meant it was great that you won't have to do the work to migrate off of the Sync SDK. To clarify though, both the Core SDK and Sync SDK are built on v1 of the Core API, which is still supported. It's just the client-side Sync SDK itself that is deprecated, so you don't have any migration…
-
Oh, great! We haven't released an update to the iOS Core SDK with bitcode, but if you need bitcode support for the Core SDK, you can add the source directly, since it's open source. There's a thread about this for the Core SDK here: https://www.dropboxforum.com/hc/en-us/community/posts/204352929-Need-Bitcode-Framework
-
Bob, I'm sorry the Sync SDK deprecation caught you off guard. We wanted to give developers as much warning as possible of course, so we ran an email campaign when it was announced, but it sounds like you never saw or got it (e.g., perhaps it got filtered from your inbox). In any case, you can find the full information…
-
No update right now, but I'll check in on this with the team again.
-
I'll check in with the team on this, but I don't have an update right now.
-
Thanks for the information! I can't make any promises right now one way or another, but we're taking a look at this.
-
It's not currently possible to create a team folder via the Dropbox API, but I'll be sure to pass this along as feedback.
-
That error message sounds like it's coming from a third party app or plugin. We can't support third party apps themselves, of course, as we didn't make them, so I recommend reaching out to the developer of the app for help. If they're having trouble with the Dropbox API they can contact us for help with the relevant…
-
If you mean you need an access token, you can get an OAuth 2 access token for your own account by registering an app: https://www.dropbox.com/developers/apps/create And then using the "Generate" access token button on the app's page on the App Console: https://www.dropbox.com/developers/apps This will only be useful if you…
-
Alexander, it sounds like you already sorted some of this out, so I'll follow up on the latest thread you replied on, so as not to spam others on these threads.
-
No news on this, but we're already tracking this as a feature request. One thing that may help though, if you have an API app linked to the owner of the shared link, is to use the new /metadata/link endpoint to get information about the file, and then use /thumbnails to get the thumbnail.
-
Unfortunately I don't know if or when this might be implemented, but I'll be sure to pass this along as a request.
-
Taking a guess, it sounds like you want to be able to directly get a thumbnail for a shared link for an image like: https://www.dropbox.com/s/gloll316vgziw1f/Screenshot%202015-06-11%2009.47.11.png?dl=0 That's not currently possible, (the only parameters those links take are documented here), so you'd need to use the API as…