dropbox-api

Dropbox Javascript Datastores API example in Phonegap provides error forbidframing for Windows8 app

拥有回忆 提交于 2019-12-04 15:21:20
I have attempted to create a Phonegap app supporting both Android and Windows8 for the Dropbox Javascript Datastores API that makes use of the example provided here: https://github.com/dropbox/cordova-datastores-example When I build and run the Android app, it runs perfectly on the Android tablet. But when I run the app created for Windows8, an error is displayed: The app couldn't navigate to ... because of this error: FORBIDFRAMING . And then nothing happens afterwards. I haven't been able to find an alternative to using a frame. I would like to know, if there is a way to run the Windows8 app

What are the alternatives for file upload on ios safari?

北战南征 提交于 2019-12-04 09:57:19
I have a mobile web app/site and I would like the users to upload a word document to our site. As safari on the iPhone is not able to upload files what are the alternatives? I have seen http://code.google.com/p/iphone-photo-picker/ however this is not photograph. Is it documented anywhere that the Dropbox API, iCloud API or another API would allow selection a file from a user to copy to our servers? Alternately is there another way for our iPhone users using safari? nLL No, iPhone does not offer input type file on it's browser (except for images or videos). What i do is, have users to send

Download file from Dropbox with JavaScript

爱⌒轻易说出口 提交于 2019-12-04 08:18:14
I have I have a web site were try to provide a service to a client to be abel to download from Dropbox a file. For simplicity of development I use Dropbox chooser . For this I enable domains I expect to download from and include <script> tag suggested by Dropbox itself (with corresponding data-app-key ) into my HTML page. Everything works sweet. Problem Now I need to download a file selected by the user. Dropbox chooser doesn't seem to provide any functionality for this, what it does, is just retrieve an information about file. In my case this is a direct link , to download the file. To

Transfer files to dropbox from node js without browser based oauth authentication

风格不统一 提交于 2019-12-04 08:10:39
问题 I am running a nodejs + express based api server from heroku and using the dropbox-js library. Here's what I'd like to do: A user hits a specific api endpoint and kicks off the process. Generate some text files via a node process and save them on the server Transfer these files to a dropbox that I own using my own credentials (user and dropbox app). There will never be a case when a random user needs to do this.. it's a team account and this is an internal tool. The part that is tripping me

Getting SSLHandshakeException when using Dropbox Java SDK for API v2

♀尐吖头ヾ 提交于 2019-12-04 06:43:54
问题 In a XPages application I want to make use of the Dropbox Java SDK (2.1.2) for API v2 to get information about my Dropbox account. The following code is used to retrieve the corresponding account object: String atoken = "****"; DbxRequestConfig rc = new DbxRequestConfig("****"); DbxClientV2 client = new DbxClientV2(rc,atoken); DbxUserUsersRequests users = client.users(); FullAccount acc = users.getCurrentAccount(); // Exception raised here The last line raises the following exception: com

How to overwrite file with parent rev using Dropbox API in iOS?

瘦欲@ 提交于 2019-12-04 03:31:10
I am developing an iOS application using Dropbox API. While uploading a file using the dropbox API, I just want to overwrite the existing file with the same name. How can I set the parent rev and what value? Thanks! sumanth Get all the files in the directory with [[self restclient] loadMetadata:@"/"] in the delegate - (void)restClient:(DBRestClient *)client loadedMetadata:(DBMetadata *)metadata you get all the details of each file. Scan through all the files with file name of your interest and get the rev details with file.rev and store it. When you want to replace the file, for parentrev

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

一曲冷凌霜 提交于 2019-12-04 03:04:24
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 code: import dropbox dbx = dropbox.Dropbox("my_access_token") data = "asd" dbx.files_upload(data, '/file.txt') And here is the error message I get when I try to run it: Traceback (most recent call last): File "dbox.py", line 7, in <module> dbx.files_upload(data, '/file.txt') File "/usr/local/lib/python3.4/dist-packages/dropbox/base.py", line 1225, in

What is the Dropbox iOS app's equivalent of “fb://”?

谁说我不能喝 提交于 2019-12-03 20:44:03
Sorry, I can tell I don't entirely know what I'm talking about. For example, to open a URL for Facebook, the prefix is "fb://". Does anyone happen to know the prefix for Dropbox? I'm pretty sure it has one, because in the new Dropbox API (1.0) it opens the Dropbox app from within your app to let the user log in, and the only way I know of doing this would be through one of those prefix things which I don't know what they are called. I do not actually want to open a file in Dropbox. I actually want to detect whether Dropbox is installed on the iPhone, and the best way that I can think of to do

Evaluation of a strategy to sync Core Data with Dropbox

六眼飞鱼酱① 提交于 2019-12-03 17:26:26
This question is about using Dropbox to sync an sqlite Core Data store between multiple iOS devices. Consider this arrangement: An app utilizes a Core Data store, call it local.sql , saved in the app's own NSDocumentDirectory The app uses the Dropbox Sync API to observe a certain file in the user's Dropbox, say, user/myapp/synced.sql The app observes NSManagedObjectContextDidSaveNotification , and on every save it copies local.sql to user/myapp/synced.sql , thereby replacing the latter. When the Dropbox API notifies us that synced.sql changed, we do the opposite of part 3 more or less: tear

Dropbox app destined to interact with only one dropbox account

烂漫一生 提交于 2019-12-03 14:04:53
问题 My need is to have a simple web form that also lets people upload some pdf's. What I was thinking I could do (because of the size and number of uploaded files) is to tie the backend of this app to either my dropbox account or my box.com account. Both services offer similar API's to build apps. However they both assume I want to interact with people's dropbox/box account. I think I kinda want the reverse of that. People would upload files to a web server but I want to upload them