dropbox-api

Dropbox Java: Use Proxy with authentication

送分小仙女□ 提交于 2019-12-11 07:40:04
问题 I want to create my DbxRequestConfig Object with a StandardHttpRequestor , because I need it to use a Proxy. The Proxy is a http Proxy, Port 80, and needs authentication. Proxyaddress: http://myproxy.com Proxyport: 80 Proxyusername: username Proxypassword: password So I tried to use the global Java Proxy setup: System.setProperty("http.proxy","proxyaddress") //... http.proxyUser, http.ProxyPassword //and so on It did not work. After looking into the StandardHttpRequestor I realized I need to

Stuck at File Upload Download App in DropBox using java

独自空忆成欢 提交于 2019-12-11 06:51:51
问题 I am working on Dropbox api using java. first app is to upload and download file in dropbox account. I got a token to authenticate with dropbox but when i try to uploading file in account i get bad request error like: Exception in thread "main" com.dropbox.core.DbxException$BadResponse: unexpected response code: 401 at com.dropbox.core.DbxClient$4.handle(DbxClient.java:274) at com.dropbox.core.DbxClient$4.handle(DbxClient.java:270) at com.dropbox.core.DbxRequestUtil.doGet(DbxRequestUtil.java

What can I do to fix the error “Thread 1: signal SIGABRT”?

断了今生、忘了曾经 提交于 2019-12-11 06:49:41
问题 I'm following this tutorial on Github to try and learn how to use SwiftyDropbox, but I've run into this error import UIKit import SwiftyDropbox @UIApplicationMain class AppDelegate: UIResponder, UIApplicationDelegate { //Thread 1: signal SIGABRT var window: UIWindow? func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { DropboxClientsManager.setupWithAppKey("qcvovib4h1mn0zd") return true } Here's what I'm

Issues downloading files using Dropbox JavaScript SDK

≯℡__Kan透↙ 提交于 2019-12-11 06:49:34
问题 I am attempting to download a file, to the Webapp itself on the client side, using the Dropbox Javascript SDK. I want to make it clear that I only wish to download a file to a folder in the web app; I understand that due to security concerns this may not actually be possible. I am following the documentation provided in: http://dropbox.github.io/dropbox-sdk-js/index.html http://dropbox.github.io/dropbox-sdk-js/Dropbox.html#filesDownload__anchor This is my controller code: $scope.testDownload

Dropbox oauth view is not rendering properly

大城市里の小女人 提交于 2019-12-11 06:02:08
问题 I am building electron desktop app where user can grant access to his cloud drive using OAuth credentials. It used to work fine. Recently it is not rendering html properly. Eventhough user enters credentials, he is not able to submit form. It is throwing below errors. Please check the screenshot : Adding another screen how submit button is disabled and user name and password text boxes are behind the view. Electron process details : process.versions : ares: "1.10.1-DEV" atom-shell: "1.4.14"

Download file from Dropbox C# [duplicate]

大憨熊 提交于 2019-12-11 05:04:37
问题 This question already has an answer here : Download a file in Dropbox using asp.net mvc (1 answer) Closed 3 years ago . I'm trying to download a pdf file that I have in Dropbox, I need to save it into my local computer, any folder it can be C:\Users\User\Desktop for example. This is the code I've been working with: public void DownloadPdf() { DropboxClient client2 = new DropboxClient("cU5M-asdgfsdfsdfds3434435dfgfgvXoAMCFyOXH"); string folder = "MyFolder"; string file = "Test PDF.pdf"; var

Is there a way to use DropBox for authentication without re-authorization?

邮差的信 提交于 2019-12-11 01:57:45
问题 I'm developing a DropBox app - one that has no use if the user is not authenticated by DropBox. Therefore it would be useless to have separate account management in my app, (using the DropBox accounting should suffice). The oauth sequence suggested by DropBox does both authentication (having the user sign in with her DropBox credentials), and authorization (having her approve my app to access her DB account). This is good for the first time the user signs-in to my app. But once my app is

Dropbox Java API with GWT Authentication problems

╄→尐↘猪︶ㄣ 提交于 2019-12-11 00:12:08
问题 I am using version 1.6 of the Dropbox API for Java found here: https://www.dropbox.com/developers/core/sdks/java I am also using GWT 2.5.1 in Eclipse 3.7 I have the following code which works when run as a Java Applcation: DbxRequestConfig requestConfig = new DbxRequestConfig(type, locale); DbxAppInfo appInfo = new DbxAppInfo(APP_ID, APP_SECRET); DbxWebAuthNoRedirect webauth = new DbxWebAuthNoRedirect(requestConfig, appInfo); String result = webauth.start(); System.out.println(result);

From where can I find App Secret in Dropbox for android?

China☆狼群 提交于 2019-12-11 00:02:29
问题 I am integrating Dropbox to android app. i created app on dropbox, i got App Key, but i don't know how to get App Secret Key? If you have any idea related to it, than please share with me. Thanks in advance... 回答1: You have to register Your app first. Then if it is approved by DropBox go to "AppConsole" and push "Options" right besides Your registered app. Here You will find the secret code 来源: https://stackoverflow.com/questions/17187711/from-where-can-i-find-app-secret-in-dropbox-for

How to use Dropbox API v2 to rename a file

走远了吗. 提交于 2019-12-10 22:33:40
问题 I'd like to rename a file on Dropbox using the HTTP API. According to the new docs, it is possible to move, but not to rename? https://www.dropbox.com/developers/documentation/http/documentation#files-move I'd also like to be able to modify other metadata, especially client_modified, without having to re-upload the file. Is the documentation current, or are there additional features available? 回答1: Ah, great, I found out that the move API can be used to rename as well. Great! Still unable to