-
How to generate a short lived/refresh token from a long live token with the python SDK
From september long live tokens are being retired, so how can I take my existing long lived token and generate a refresh token that I'll be able to use via the api going forward alongside any new short lived tokens I may receive?
-
Current outage
Notifications for modified files is not working. https://notify.dropboxapi.com/2/files/list_folder/longpoll is not returning when files are modified.
-
How can I use SDK to update permission
Hi We use the Objective-C SDK in our APP. To get all files' metadata and delete some files, we granted the permission "files.content.write" in ours APP. We now want to develop a new feature, which needs the permission "files.content.read". 1. We will add the permission "files.content.read" in Dropbox App Console, will this…
-
Re: Failed to connect to content.dropboxapi.com port 443?
I have same problem. I use rdrop2 package in R program and this error occured. It seems that my ip address is blocked. How can I fix this problem?
-
/oauth2/authorize never ends - Windows, VS2019, native C++, desktop app, CEF
As a software developer company, we would like to give Dropbox feature to our native C++ MFC desktop app. As we can't use the IE browser anymore, we have to look for another browser solution. We tried to use CEF, and we could succesfully integrate it into our app. Because the CEF needs so many exe instances and our desktop…
-
Token and Permission Updates
Hi, I receive the mail from dbx about "Token and Permission Updates" to explain me that the Dropbox OAuth flow will no longer return long-lived access tokens. I'm using the lib <groupId>com.dropbox.core</groupId> <artifactId>dropbox-core-sdk</artifactId> <version>3.1.1</version> I see now there is 3.1.5 version, so I will…
-
Dropbox Python API Webhooks
Im currently working on a application were i need to implement webhooks from my dropbox to my local pc. Unfortunatly im having problems with getting my program to work with the webhooks. My process so far has been roughly as follows. - Ive setup a app on the dorpbox website and given it most of the permissions. - Ive…
-
How can I update client_modified for a file through the API?
I would like to update all the client_modified timestamps of my media files so that the image gallery app I'm using sorts the files in correct chronological order (it uses client_modified, and not exif data or similar for sorting). I would think this should be possible somehow but I can't figure out how. Is it possible?…
-
Get URL to edit word, excel files online
Hello guys, I'm looking for an API endpoint to get an url allowing me to edit a word or excel file online. Example: - I have a file named hello.docx and i want to edit its content. - I would like to request an API endpoind to get a response containing an URL allowing me to edit my file online Is there a way? Thank u
-
Invalid shared folder id
Hi there Im integrating the ability to share a folder with people that signup to my system Basically I got the shared_folder_id. Via here : https://dropbox.github.io/dropbox-api-v2-explorer/#files_list_folder I get the id of my folder : "id": "id:OnI0Xzba6WsAAAAAAAE0Hg" However when I call…
-
Excel files uploaded to Dropbox using Node.js SDK are invalid
I am trying to upload Excel files to Dropbox using the Node.js SDK (https://github.com/dropbox/dropbox-sdk-js). The files are received from JsReport, and are saved correctly when saved to my local disk. However, when uploading to Dropbox, the files end up long strings instead of Excel files. The body in this case is a…
-
New users cannot connect to Dropbox
Hi, I have released the new version of my app. The app has the objective-c SDK updated to the latest release (5.0.5), and I have updated the code to support scopes and short-lived tokens. But I haven't changed the "Access token expiration" setting of the app within the "Console" (so currently the "Permission type" of the…
-
getting shared_folder_id
hey guys im trying to get shared_folder_id from the API and im using the below $ch = curl_init(); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST"); curl_setopt($ch, CURLOPT_HTTPHEADER, array('Authorization: Bearer ' . $auth_token, 'Content-Type: application/json'));…
-
OAuth options for Windows desktop apps
I notice that the Dropbox API has now officially dropped support for Internet Explorer, which means that any Windows desktop application that integrates with Dropbox is now faced with an uphill battle: Previously, we could just use the Internet Explorer-based WebBrowser ActiveX control, which allowed us to hook into…
-
Best way to authorize more users on my app
Hi all, my scenario is as follows: 1) mobile app 2) app server for redirect uri I need to allow users to access their dropbox space from my application. So each user will have to authorize his copy of the app with dropbox by inserting user and pass. My problem is that the response that the dropbox server sends to my server…
-
Font change in File Request description
I am a first time Dropbox API user. I am trying to use API to create a set of file request. A set of instructions will be provided in the description section. We would like to high light some portion of the description with bold or different font. I tried to use HTML style <b> </b>, it doesn't work. Can you please provide…
-
How to stop syncing using a script?
I have seen the original question on this. The answer is not practical. While my need is different, I do also need this very basic feature - switch off and then later switch on syncing via a command line script I am a javascript develioper using the package - "grunt". It uploads stuff to a repository and using "npm" which…
-
integrate drop with rest api
Hi, I want to integrate dropbox into my own mobile app(java) by your rest api instead of using java sdk, and I find the "User Endpoints" guide in this page: https/www.dropbox.com/developers/documentation/http/documentation. I was wondering if there is a detailed sample code to use. Thanks!
-
integrate Dropbox with rest api
Hi, I want to integrate dropbox into my own mobile app(java) by your rest api instead of using java sdk, and I find the "User Endpoints" guide in this page: https://www.dropbox.com/developers/documentation/http/documentation. I was wondering if there is a detailed sample code to use. Thanks!
-
some questions about write mode
Hi: It seems that dropbox handle files when there is a conflict like this: If one file in dropbox is being updated by multiple devices, some conflicting copies will be created, and users should merge these confilting files manully. Whether I set write mode to add, overwrite or update has no influence about this. The…
-
C# api freeze on any api method.
Hey! My program gets stucked on any dbx.Files method, for example: var x = await dbx.Files.DownloadAsync(folder + "/" + file); File is very small, 5 bytes, but it gets stuck anyways. On upload it gets stuck as well, but data get's uploaded, I found uploaded file using dropbox web browser. What problem it can be?
-
How can I get the starred files via the API?
I want to be able to copy starred files (mostly photos) into a new folder. Is there a way to access the data which represents the starred status of a file? I was assuming to find something like a boolean property is_starred: true but so far I can't find a way to do this. I have thousands of photos and before I spend time…
-
How to handle OAuth2 keys if they only last four hours
Hey guys, I developed a Dropbox app using Dropbox developers that is supposed to be used to upgrade a TI MCU over the air. I noticed that there is a note that the "no expiration" option for the OAuth2 key that says that it is going to be deprecated. The only other option looks like the tokens expire every four hours. How…
-
Dropbox embedder hide "Copy link" "Open on Dropbox"
I am looking to hide the "Copy link" "Open on Dropbox" links from the embedder pages, it is creating an iframe so can't do it with CSS, I was hoping there was a an attribute created for it, just not documented. The "Download" link can stay, preferably
-
Programmatically Process Shared Link Folders and Sub-Folders and Their Contents
Well I'm still at a loss. I have the shared link to a folder that I need to check on a daily schedule to see if there's new files. The logic of which is all fine, but I just can't access anything below the initial shared link programatically. Really all I need to get is the URL for any subfolder ... but I'll be damned if…
-
Cannot obtain download links for files in public shared folder
Hello. I have a link to a shared folder with thousands of photos: https://www.dropbox.com/sh/saudciiyp40kjr5/AACG9UCNAtsy0WMxuX82xGLma?dl=0 I can see and download any of them from browser without authentication, even as guest. I need to provide download links for some of them to other application. In my app, which has…
-
Get child folder link from shared folder link
Hi, I am trying to use the API to get the already created shared url for child folders in a shared folder. To demonstrate I have a shared folder link that contains some files and a folder here: https://www.dropbox.com/sh/lgjbsmsdzyobz8a/AABQPF-7nPepYQO8XXRObsJ9a?dl=0 If I click the folder kittens I get a new url:…
-
Is it possible to "save to dropbox" a file from a shared link folder?
I have found that calling list_folder API and passing the "shared_link" parameter will give me a list of the files in a shared link folder, but is it possible to copy one of these files into a dropbox folder? There is the save_url API, but there doesn't seem to be any way to obtain the URL of a file from the results…
-
Traverse a shared folder
Given a shared link (ie https://www.dropbox.com/sh/koc0ymsn8lxk2sh/AAAS28iWSscFFzg3u6bZ6QB7a?dl=0) from the account I don't own, my goal is to produce a list of download links for the files inside the given folder and later download them. Note that I don't want a zip of the folder - customer UX would allow to unselect…
-
General URL for many files from 1 shared folder
Hello community, In my dropbox I have a folder with 200 country flags which I would like to download automatically using the respective URLs. My problem is that the URL of every single file contains a key which is unique. Example: - for the USA flag the URL is https://dl.dropboxusercontent.com/s/rzateuez21i5c95/us.png?dl=0…