-
temporary links
Hello, We have a customer that wants to share dropbox folders with his consumers. We would develop a webapplication with a login-module; a list with dropbox folders would be available for logged in consumers. How can we prevent that the consumers share the available dropboxlinks between eachother? Preferably with as little…
-
xmp metadata stripped from thumbnails: please fix
XMP is a powerful tool when it comes to archiving images. Why does Dropbox strip the XMP data from its thumbnails? The data is kept intact in the original file, though, yet sadly it is omitted in the thumbnail version. Please fix this as pro users need this feature badly. Thanks!
-
Quickest way to check if a folder and subfolders are empty?
I only want the Dropbox Embedder to show if the specified folder actually have any files in it. What is the best way to figure out if a folder (or subfolder) has any files? At first I thought about "list_folder" and loop though the result to see if theres any file. But list_folder only returns 1 directory, and apparently…
-
Export Dropbox-Content to WordPress with list_folder
Plus plan user here. We consider using the API method list_folder to pick up a large Dropbox folder (thousands of images 100-5000 kb each) to populate the Media Library for a WordPress site. Individual files would cause minimal download traffic, as another service picks up files from there and serves images with a CDN.…
-
How to get a refresh token
I have an app written in Python to upload files which I set up in the www.dropbox.com/developers/apps section. I generated an access token and chose the expiration to be "No Expiration". When I run it manually with "python app_name.py" it works. But when I setup a cron job (with the same python interpreter etc.) I receive…
-
V2 download api response time
Hi, I was trying the download api to pull a small range of bytes 0-30000. The response time averages around 700ms to 1s. Is there another api call endpoint that would grab partial content faster? I am using curl with the bearer token. Thanks!
-
Re: python SDK error
Im kaamoo api in other account! I dont know what i did in my app, but the problem now is diferent. 06-03 15:19:12.395 10622 10660 I python : requests.exceptions.ConnectionError: ('Connection aborted.', OSError(0, 'Error')) The app uses dropbox api to use a excel allocate in the dropbox folder. The app have INTERNET…
-
expired_access_token in .NET API
I'm using the .NET Api with refresh tokens. I get the authorization uri and the user gives permission. var authorizeUri = DropboxOAuth2Helper.GetAuthorizeUri(OAuthResponseType.Code, ApiKey, RedirectUri, state: state, tokenAccessType : TokenAccessType.Offline, scopeList : scopeList, includeGrantedScopes:…
-
Embed Paper file into a website
Have visited some of the community discussions on this theme but the originating message was in 2015 when the topic of an iframe around Paper was contemplated. Any way we can simply bring a Paper file into an existing website?
-
help with c#
HI! I'm beginner in coding. I'm using Visual Studio 2017 - windows forms, with c#. I succeeded to upload and download files less than 150 MB. Someone can help me with uploading and downloading files more than 150MB? please! Sorry about my poor English..
-
API Error: invalid code verifier
I'm not having any joy at all getting authorisation to work. As far as I can tell, I'm following the docs to the letter (though some of them are extremely difficult to read or interpret) and this coincides perfectly with the steps outlined in another thread…
-
sharing/list_file_members do NOT return time_last_seen of members
Hi! I'm trying to use the sharing/list_file_members in order to fetch the last time a shared file have been seen by its member. According to the API, the response for each member should include the field time_last_seen, in case the member have opened the file. However, it does not matter if members have opened it or not,…
-
File sharing with dbx.sharing_create_shared_link
Hi, I am trying to create a sharable link for files in shared folders with visibility control, using Dropbox API the code I use is shared_link_metadata = dbx.sharing_create_shared_link("/2. Info/02. GEC-W2B-BMD-GEC-003642-20190127_Weekly Commodity Tracker_P227_TemplateR5.xlsx") shared_link_metadata.url with this I can get…
-
Dropbox iOS Core SDK - How to continue downloads in background or when the screen is locked?
The download stops in iOS [Core SDK] when the screen is locked or when the app is inactive. As per iOS standards, the download should continue up to 10 minutes and NSURLSession takes care of it. But in iOS Core SDK, the download stops as soon as the screen is locked. If I use BackgroundTaskIdentifier, this problem is…
-
Dropbox API C#
Hello! Tell me please How to write C # code correctly. For a complete list of Teams folders and files. Here is a sample code to get a list of folders for a single Dropbox user. using (var dbx = new DropboxClient(token)) { var list = await dbx.Files.ListFolderAsync(string.Empty, true); foreach (var item in…
-
System.ArgumentNullException: when inititating concurrent upload
Hi, I've been working on a project and the requirement is to upload files to Dropbox concurrently and in chunks. So, I wrote the following code to accomplish the task. I initiated the request using the following code. public async Task<string> InitiateChunkUploadAsync(ProcessFileViewModel fileModel, CancellationToken…
-
About list_shared_links
I'm using a Dropbox basic account and API v2.0. Why do some files return a URL with / s / and some do not, even if I hit list_shared_links with a specific file path? Also, what is the difference between "/ scl / fi" and "/ s /"? Please tell me who knows.
-
Uplaod images automatically whenever image upload on a specific website
Hello friends, I want to upload all images automatically into my dropbox whenever any image upload at this website. For this purpose is there any API, do I need to work in PHP or it can be achieved without any programming skills? please let me know. Waiting for your kind response. (Note: I need to complete this task within…
-
dropbox-php-sdk by Kunal Varma and oauth2
Hello I just started Migrating App Permissions and Access Tokens with this short-lived token things on php, and I cannot find an information: the dropbox-php-sdk by Kunal Varma is listed in https://www.dropbox.com/developers/documentation/communitysdks but I cannot see if it supports this new oauth2. Does anyone know? As a…
-
[Python V2] How to do batch upload?
Hi! I am trying to upload several files using the sessions and batch operators in the Dropbox SDK for Python. I'm trying to do something like this: dbx = dropbox.Dropbox(<API KEY>) commit_info = [] for df in list_pandas_df: df_raw_str = df.to_csv(index=False) upload_session = dbx.upload_session_start(df_raw_str.encode())…
-
OAuth2 via Python SDK and Django
Hi again, So I'm trying to implement the non-pkce authorization via the Python SDK using DropboxOAuth2Flow with redirects. View 1 creates the initial auth_flow object. def dp_auth_start(request): auth_flow = dropbox.DropboxOAuth2Flow(....use_pkce=False) return HttpRedirect(auth_flow.start()) View 2 is supposed to take in…
-
Excessive warning on the browser console
I'm working on an application where I connect the dropbox to host files, after I use the dropbox embedder he started giving me these warning on the console.
-
When logging in, just input text, it will be fail.
Android version: 8.1.0 When logging in, just input text, it will be fail. 1. Dropbox API call browser login, Vedio web link as below: https://drive.google.com/file/d/16aH36k2caFDzL__EvWrTwulf0Azp8hbW/view?usp=sharing 2. Only use brower enter https://www.dropbox.com/login to login, , Vedio web link as below:…
-
Python SDK: refresh_access_token() and check_and_refresh_access_token() need app_key and app_secret
I only found after experimenting around and re-reading the OAuth guide (https://developers.dropbox.com/de-de/oauth-guide) that the Python SDK functions mentioned in the title need the app_key and app_secret to check and refresh access_tokens. dbx = dropbox.Dropbox( oauth2_access_token=MYTOKEN,…
-
Questions about creating DbxClientV2 using DbxCredential
Hi, I am looking to start using Short-Lived tokens (using PKCE and refresh tokens), and have been looking at the Android example code from: https://github.com/dropbox/dropbox-sdk-java/tree/3162efeccaca247e25553acd21f6ac0bf9018ad6/examples/android/src/main/java/com/dropbox/core/examples/android I have a couple of questions…
-
Expires date format - help
Hi there, Could you give an example of a date, in particular for the expires field for the Create Shared Link With Settings endpoint? I'm struggling to get it to work, keep keeping bad requests. From the docs: %Y-%m-%dT%H:%M:%SZ My implementation in PHP: date('Y-m-dTH:i:sZ', time() + $a_number_of_seconds) (which…
-
API - zip fies by file IDs
Hi there, Is it possible to download a zip by supplying the file IDs to be zipped, rather than by directory? (i.e. I want to zip a bunch of files, that may be in different folders, by passing a list of the file IDs). Thanks
-
Authorization in UWP app
Our company, being an UWP app developer, has faced the following problem. After changing the authorization policy, the Dropbox no longer supports the OAuth app authorization flow in web views, we need to update our app to process the OAuth app authorization flow in the user's system browser. We are currently using a Web…
-
Java SDK issues with short lived token
Hi there, I need some help to migrate to the short lived token. Normally I check if I have the token, then call or execute the other doprobx APIs (e.g. file upload): Auth.startOAuth2Authentication(getActivity(), db_k); While now I call: Auth.startOAuth2PKCE(context, db_k, DbxRequestConfig.newBuilder("app")…
-
API doesn't allow shared links from not owner
I have a python script to pull and process team data where the I (a.k.a. developer) processes data using a shared link pasted in by a team member. The goal is to process data supplied by team on a server. Fun fact. I can only process data using a public shared link that I created. What permissions/settings are required so…