Questions tagged [dropbox-sdk-js]

The Dropbox JavaScript SDK is a lightweight, promise based interface to the Dropbox v2 API that works in both nodejs and browser environments.

70 questions
0
votes
0 answers

Download/upload file from/to dropbox from node/express api to seperate php application

Hey I haven't been able to find any information this but what I'm trying to achieve is using an express/node rest API that would use Dropbox JS SDK to send files to different applications mainly PHP, is this possible? I've been toying around with it…
Ancesteral
  • 109
  • 9
0
votes
0 answers

C:/fakepath issue with DROPBOX upload

According to DROPBOX this is supposed to work for uploads, but all it's only uploading ad a text file with nothing more than c:/fakepath. I understand why the fakepath security thing happens, but i don't get why i can't even get it to work when i go…
Martin Vidic
  • 763
  • 1
  • 6
  • 19
0
votes
1 answer

Dropbox API: Error when adding custom properties to a file

I'm using Dropbox SDK for Javascript and trying to add custom properties for a file: var fetch = require('isomorphic-fetch'); new Dropbox({ fetch: fetch, accessToken: '...' }) .filePropertiesPropertiesAdd({ path: '/wallpapers/WhatsApp…
marcelo2605
  • 2,734
  • 4
  • 29
  • 55
0
votes
0 answers

Uploaded .wav audio file is unreadable/corrupted in Dropbox

Using the dropbox javascript SDK, i'm attempting to upload some .wav audio files to a dropbox folder. However, the files uploaded are unreadable and give a "audio error" when opened or previewed. The code I'm using is: var Dropbox =…
JWiley
  • 3,129
  • 8
  • 41
  • 66
0
votes
1 answer

Angular 5 Download file from dropbox and Upload it to AWS s3

I am currently using dropbox file picker to download the file. I got the download link after selection of file using dropbox picker. Is there any possibility that we can save it inside bytestream in browser and upload it to server(Node.JS) using…
Manish Singh
  • 518
  • 3
  • 13
0
votes
1 answer

Implementing dropbox-content-hasher in electron node.js app

I have a fully functioning Electron App that uses node.js fs module to look at local files. I need to compare these files to files held on Dropbox. I have the Dropbox module all set up and running and have retrieved the content-hash for each file…
Helen Danger Burns
  • 421
  • 2
  • 9
  • 28
0
votes
1 answer

Somebody Has used the lepton-NodeJs for compression JPGs

I want compress some JPGs for update to the DB, this code is the only thing I found with documentation but I do not see what it is that needs to be uploaded to the database I know it's the file.lep but I do not know where to take it.…
0
votes
2 answers

is there any way to "logout with all devices" from dropbox API v2

I am using Dropbox API v2. User of my app wants to logout from Dropbox with all his devices. I think this is equivalent to revoke all access tokens for my app. I know how to revoke a known access token (and my app provides a logout which does…
Bernhard
  • 686
  • 8
  • 20
0
votes
2 answers

Display images from dropbox with javascript api

I'm trying to create a page that could show all pictures in a dropbox folder through the Javascript API. I was able to set up my dropbox app properly, and I am able to get a list of files. I'm stuck at the part to get a URL I could actually use to…
mesqueeb
  • 5,277
  • 5
  • 44
  • 77
0
votes
1 answer

Dropins Drobox plugin error

I have added this script on my page: but in the console I always see this error: Failed to load resource: the server…
Piero
  • 9,173
  • 18
  • 90
  • 160
0
votes
2 answers

Dropbox JS SDK: execute i++ inside .then-function

I struggled somewhat naming this question, but I'll try to explain it rather quickly. I'm using the Dropbox JavaScript SDK to retrieve shared links from specific folders. First of all, I'm using the following code to retrieve files from a…
Erik Blomqvist
  • 471
  • 1
  • 4
  • 16
0
votes
0 answers

Implementing Dropbox authentication and file upload locally, redirect URI error

I am able to perform the functionalities of Authentication, receiving the Access Token and upload and download of files from Dropbox using this SDK. However i want to be able to implement this functionality on a local html page. Basically, i used…
0
votes
1 answer

How to use Dropbox-sdk-js in the browser?

I have been trying to get the dropbox-sdk-js running in the browser. The sdk is developped for node. What I need is to include the sdk in a