The Dropbox JavaScript SDK is a lightweight, promise based interface to the Dropbox v2 API that works in both nodejs and browser environments.
Questions tagged [dropbox-sdk-js]
70 questions
0
votes
1 answer
How to do Parallel upload of parts of a file to dropbox using Javascript
I have large file. I want to upload it to dropbox. Since the file size is too much, I want to divide the file into multiple parts and upload few parts in parallel. So that if one part fails, I can retry upload for only that part.
Is there a way to…

ashish_pal
- 217
- 1
- 4
- 11
0
votes
2 answers
Angular dropbox api /token endpoint returns invalid request
I'm trying to build a connection to dropbo using angular.js. For this i have the following piece of code to do a request to https://api.dropboxapi.com/1/oauth2/token .
The code is obtained in the url after the user clicks-through to the verification…

Hine
- 13
- 3
0
votes
2 answers
Dropbox API: Sending Data Via Ajax to Controller
I am using the Dropbox API JavaScript Chooser and want to return the data from the response into my Controller
The Javascript Options for the Dropbox API
options = {
success: function (files) {
$.ajax({
url:…

Frazer
- 560
- 2
- 11
- 21
0
votes
1 answer
Download contents of file shared using dropbox API
I am working on a chrome extension wherein the users can store the files in their dropbox account. As mentioned in the dropbox api share file link, I used that endpoint to generate a file sharing link which generates a compressed/shortened sharing…

bawejakunal
- 1,678
- 2
- 25
- 54
0
votes
1 answer
Dropbox disable_access_token API not working for logging out user
I am working on chrome extension where I need to authenticate the user on Dropbox and the user needs to approve the app for use with Dropbox. For this I am using the OAuth2.0 authentication as mentioned in the Dropbox API. The code for the same is…

bawejakunal
- 1,678
- 2
- 25
- 54
0
votes
1 answer
How to authenticate with dropbox using dropbox-js on arbitrary cloud platform?
I have successfully implemented dropbox login on local machine using dropbox-js.
The authentication is performed with the following function:
router.get('/dropbox', isAuthenticated, function(req, res, next) {
var isLoggedIn = !!req.user;
var…

Niko Gamulin
- 66,025
- 95
- 221
- 286
-1
votes
1 answer
Invalid Access Token Dropbox API Github pages
var xhr = new XMLHttpRequest();
var filename = name;
//dataset is a valid JSON Object
var file = new File([JSON.stringify(dataset)], filename, { type: "text/json;charset=utf-8" });
xhr.open('POST',…

Zice Zhao
- 1
- 6
-1
votes
1 answer
Dropbox SDK and forcing a download via filesDownloadZip
Using the dropbox SDK for a client side angular project. I'm able to call filesDownloadZip() but I'm not able to do anything with the result.
I'd like the browser to download the file with it's default behavior but I can't figure out how to "force"…

Justin Young
- 2,393
- 3
- 36
- 62
-1
votes
1 answer
Upload file to personal Dropbox from public website without exposing private key
I receive images for processing on my site and wanna omit uploading to local server and further adding to Dropbox folder from it by implementing direct upload to Dropbox from web browser.
Dropbox API is pretty simple, but has one problem - I need…

Константин Носов
- 69
- 5
-2
votes
0 answers
Url is giving access token undefine
Giving access token undefine?
app.get('/auth', (req, res) => {
// Redirect to frontend with access token
const accessToken = req.query.access_token;
res.redirect(`http://localhost:3000/#access_token=${accessToken}`);
});
Access token should…

Tanmay
- 1