Questions tagged [dropbox-api]

The API for Dropbox, a file syncing, sharing, and backup service.

The Dropbox API allows developers to build functionality directly into their apps. The API provides methods to read and write from securely. The API allows access to features such as file uploading, downloading, sharing, searching, and restoration. The API can be used across platforms such as , , , , or any other that can make HTTPS connections.

More information, including the specification of the Dropbox API interfaces, usage guidelines, and developer tools such as official SDKs can be found on the Dropbox API website

2379 questions
15
votes
2 answers

How to get my APP_KEY and SECRET_KEY for Dropbox sync?

I'm trying to build in the opportunity to sync my application's *.csv files with desirable dropbox account. What I've done so far: Permissions and com.dropbox.client2.android.AuthActivity in manifest Signed my app with my…
alexsalo
  • 1,406
  • 2
  • 14
  • 16
15
votes
1 answer

What is the validity of the access token granted by Dropbox API (OAuth v1) and how to refresh it?

I read a thread on the dropbox forum here. But I'm still confused as for how long the token is valid and do I need to refresh it and how. My application needs to perform some scheduled operations on the users files offline, so I need to have a…
MeetM
  • 1,410
  • 17
  • 25
14
votes
1 answer

Is it possible to disable dropbox notifications for app folder

I'm playing around with dropbox.js and have created a web-app to take notes and save them to my dropbox account. Is there a possibility to turn off notifications for only this one App folder without turning off all notifications?
lordvlad
  • 5,200
  • 1
  • 24
  • 44
14
votes
2 answers

Dropbox file unique identifier - RESTful API

Is there any unique identifier associated with a Dropbox file that doesn't change with revisions/changes/renaming, that can be accessed via the RESTful API? I want to store it in the database and keep track of some operations on the file.
MeetM
  • 1,410
  • 17
  • 25
12
votes
1 answer

Dropbox API v2 - trying to upload file with files_upload() - throws TypeError

I have been trying to upload a simple file to dropbox using the files_upload() function in python3 Even trying out the code in the tutorial provided on Dropbox's site I get an error and I don't understand why. What am I missing here? Here is my…
gasparrobi
  • 123
  • 1
  • 5
12
votes
2 answers

Xcode 7 + Dropbox Core API: Simply disable Bitcode?

I have been using Dropbox Core API in my iOS app for quite a while now. After updating to Xcode 7 I received the following error when I try to compile my project: ld: '.../Frameworks/Dropbox/iOS/DropboxSDK.framework/DropboxSDK' does not contain…
Andrei Herford
  • 17,570
  • 19
  • 91
  • 225
11
votes
0 answers

Can't use google to log users into dropbox

I am building a app that allows interaction with Dropbox. I have successfully authenticated to, and Dropbox is returning a key and template using it's default login page. However, when I try to use the login with Google option for Dropbox upon…
Austin
  • 726
  • 4
  • 22
11
votes
2 answers

Overwrite a file with Dropbox API v2 in Python

I'm trying to overwrite a file on Dropbox with Python 3.4 but can't figure out how to do it. If the file doesn't exist, dbx.files_upload(data, '/file.py') creates the file as expected. But if the file exists, I want to overwrite it. I've…
Stuart Thomson
  • 177
  • 2
  • 10
11
votes
2 answers

Measure network bandwith in PHP

I am transferring large files (1gb+) from Dropbox to YouTube and want to inform the user how much time the transaction will presumably take. Is there any means to measure the network traffic in PHP? I did find solutions for the linux shell (How to…
Jan
  • 42,290
  • 8
  • 54
  • 79
11
votes
4 answers

Integrate Dropbox in android app, but without login popup

I want to use the dropbox in my application.I developed a sample application for upload and download files and it ask for authentication. But I don't want to open login popup. Is it possible access the dropbox by other users using default…
jagdishkumawat
  • 301
  • 3
  • 12
10
votes
2 answers

How to get a list recently modified files in Dropbox?

The question is how to list recently modified files in Dropbox account using their API? Dropbox web UI can show a summery of recently changed files, but I couldn't find how to do it in their API documentation.
grebulon
  • 7,697
  • 5
  • 42
  • 66
10
votes
1 answer

Progress bar while uploading a file to dropbox

import dropbox client = dropbox.client.DropboxClient('') f = open('/ssd-scratch/abhishekb/try/1.mat', 'rb') response = client.put_file('/data/1.mat', f) I want to upload a big file to dropbox. How can I check the progress? [Docs] EDIT: The…
Abhishek Bhatia
  • 9,404
  • 26
  • 87
  • 142
9
votes
2 answers

Using Proguard to Obfuscate Android App with Dropbox.com Libraries

I've just finished creating an Android app that requires the Dropbox.com API libraries. I'm now trying to build the application in 'Release' mode and would like to run proguard on the code in order to obfuscate it. However, whenever I attempt to run…
JToland
  • 3,630
  • 12
  • 49
  • 70
9
votes
2 answers

Storing API keys in Android, is obfustication enough?

I'm using the Dropbox API. In the sample app, it includes these lines: // Replace this with your consumer key and secret assigned by Dropbox. // Note that this is a really insecure way to do this, and you shouldn't // ship code which contains your…
fredley
  • 32,953
  • 42
  • 145
  • 236
9
votes
2 answers

Dropbox API v2 PHP upload file issue

I am trying to upload a file using Dropbox API v2. Unfortunately there is no PHP library for Dropbox API v2. https://www.dropbox.com/developers/documentation/http/documentation#files-upload This is my code: $token = 'sometoken'; // oauth…
Georgi Kovachev
  • 633
  • 1
  • 10
  • 25