Comments
-
That code will only get run once the user returns to your app after authorizing it in the app authorization flow. Are you successfully completing the app authorization flow? First, please make sure you've implemented all of the pieces as documented here:…
-
You can find the documentation for all of the upload methods here:…
-
The Dropbox API does not support uploading using the username and password. Your app should implement the OAuth flow so that each user can choose to connect their Dropbox account to your app. This way, your users don't need to register their own apps, and your app never handles their usernames/passwords. You can find…
-
No, unfortunately get_events endpoint only supports specifying a single category, but I'll pass this along as a feature request.
-
Yes, you can use /2/files/save_url to save files directly to Dropbox from URLs, instead of saving the data locally first: https://www.dropbox.com/developers/documentation/http/documentation#files-save_url https://www.dropbox.com/developers/documentation/http/documentation#files-save_url-check_job_status Those are links to…
-
SwiftyDropbox has not been updated for Swift 4. This task is open with the team, but I don't have a timeline for when that would be completed.
-
If you know the path or ID for the folder, and the folder is already a shared folder, you can get the shared folder ID by calling /2/files/get_metadata. The shared folder ID will be in the result at folder.sharing_info.shared_folder_id. Using /2/sharing/list_folders[/continue] on the folder's parent also works. Note that…
-
Are you using uploadData for that? If you want to supply the URL to the local file instead of the Data directly, use one of the uploadUrl methods instead: https://dropbox.github.io/dropbox-sdk-obj-c/api-docs/latest/Classes/DBFILESUserAuthRoutes.html#/c:objc(cs)DBFILESUserAuthRoutes(im)uploadUrl:inputUrl:
-
The Dropbox Chooser now correctly returns local file links again for ResultType.FILE_CONTENT as of the latest version of the official Dropbox Android app, v114.
-
The Dropbox Chooser now correctly returns local file links again for ResultType.FILE_CONTENT as of the latest version of the official Dropbox Android app, v114.
-
There isn't a way to avoid this for developer testing unfortunately, but I'll pass this along as a feature request. Shared links and file requests are banned temporarily, 1 day for the first time, and progressively longer for each time after.
-
Thanks for the report! It looks like this can occur when the Dropbox user that owns the links has exceeded their shared link traffic limit. I'll ask the team to fix this up and return a more useful error in this case.
-
You can use a generated access token in whatever environment you wish; Dropbox doesn't distinguish between your sandbox/production environments when receiving the API calls. There isn't any functional difference between generated access tokens and access tokens from the OAuth flow for the same account anyway.
-
@"martinjuniqe" That error should just indicate that the 'shared_folder_id' value you supplied in the API call isn't a valid shared folder ID. Can you double check what's getting sent? Shared folder IDs are just integers, e.g., '12345678'; they are not the same as normal file/folder IDs (which look like…
-
The API was designed with the intention that each user would link their own Dropbox account, in order to interact with their own files. It is technically possible to connect to just one account, by embedding an access token for the desired account in the app itself, like you describe, but we don't recommend doing so, for…
-
It sounds like you're referring to the note in the DbxUserSharingRequests.listFolders documentation that says: "Apps must have full Dropbox access to use this endpoint." That is true, but only in the scope of user-apps (i.e., for the "Dropbox API"). Team-apps (i.e., for the "Dropbox Business API") have a different set of…
-
Yes, you can do this with the Dropbox API: - To create a team folder itself, if needed: /2/team/team_folder/create (Note: this is only necessary if team is not using the "team space" configuration, and requires a "Dropbox Business API app". You can find more information on the team-space/non-team-space difference in the…
-
[Cross-linking for reference: https://stackoverflow.com/questions/52625933/net-c-sharp-check-and-download-sync-missing-files-with-local-files-using-drop ] "use the file size as a reference?" I do not recommend using size, as that can result in false positives. That is, two files can have the same size but different…
-
I have been able to reproduce the issue. This is open with engineering, but I don't have a timeline for a fix unfortunately.
-
Regarding the first issue, with the file not being found, we'd need more information to be able to offer help. If you're still having trouble with that, please share the full steps and code to reproduce the issue. Regarding the second issue, with the uploadData method not being found, that selector looks correct. What…
-
@"JatinSingh2012" Yes, you can use the files_download method to read the file data without saving it to the local filesystem, like the example here.
-
@"RBCunningham" Thank you for the feedback!
-
The 'restricted_content' error is expected when attempting to access files that have been restricted, e.g., due to copyright claims, per the documentation: https://www.dropbox.com/developers/documentation/http/documentation#files-download If you believe the files have been incorrectly flagged, please report them to support…
-
@"ampinwatec" We don't offer a way to apply for access to use the web endpoints programmatically.
-
@"ampinwatec" I've sent your feedback along to the team, but I can't promise if or when it would be implemented unfortunately. Also, accessing the Dropbox web site programmatically like that would be against the terms, and also subject to change/breaking without notice.
-
To use the Dropbox API from Objective-C, we recommend using the official Dropbox API v2 Objective-C SDK. For example, to list files, you would use listFolder and listFolderContinue, as shown here. To download files, you would use any of the download methods as shown here.
-
@"ampinwatec" That's part of the web product itself and not available on the public API unfortunately. This feature request is open with the team but I don't have an update on it.
-
Please open a ticket for this and we can help configure this properly: https://www.dropbox.com/developers/contact
-
There isn't an efficient way to do this unfortunately, but you can accomplish this by using /2/file/search for each user. The basic outline would look like this: * Register an app for the "team member file access" permission and use the "Generate" button to get an access token for your team, if you don't already have one.…
-
Using sharing/get_shared_link_file, with the 'url' and 'path' parameters, is the right way to get the file data for a file in a folder when you have the shared link for the folder. (And likewise, sharing/get_shared_link_metadata for the file metadata.) Are you using an app registered for the "app folder" permission to make…