dropbox-api

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

╄→гoц情女王★ 提交于 2019-12-21 05:51:11
问题 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

Transfer files from dropbox/drive to Google cloud storage

和自甴很熟 提交于 2019-12-20 18:02:29
问题 We are planning to implement a feature to let customers browse their images in their own google drive or dropbox accounts (within our app), and select ones they wanna use in our app. Then, we will save these images into our Google cloud storage (GCS) place. A simple approach is to use OAuth to download the customers' images from dropbox/drive to our local disk, then upload them to our GCS. I am wondering if it is possible to make a direct transfer between dropbox/drive and GCS? GCS does

Retrieve contents of a public Dropbox folder?

僤鯓⒐⒋嵵緔 提交于 2019-12-20 12:43:19
问题 Is there a way to retrieve a list of the contents of a public Dropbox folder (preferably in PHP)? This is what a URL to a public file in Dropbox looks like: http://dl.dropbox.com/u/1234567/publikPholder/textytext.txt One would think that jumping up one level to the directory in the URL... http://dl.dropbox.com/u/1234567/publikPholder/ ...would show all the public files. Nope. Nothing but a 404. 回答1: Looks like this library is pretty complete (although I haven't used it myself), and is

Retrieve contents of a public Dropbox folder?

☆樱花仙子☆ 提交于 2019-12-20 12:43:04
问题 Is there a way to retrieve a list of the contents of a public Dropbox folder (preferably in PHP)? This is what a URL to a public file in Dropbox looks like: http://dl.dropbox.com/u/1234567/publikPholder/textytext.txt One would think that jumping up one level to the directory in the URL... http://dl.dropbox.com/u/1234567/publikPholder/ ...would show all the public files. Nope. Nothing but a 404. 回答1: Looks like this library is pretty complete (although I haven't used it myself), and is

Getting file url from a dropbox file with dropbox api

天大地大妈咪最大 提交于 2019-12-20 04:55:11
问题 I need to get a file listing from a non public folder on dropbox. After this, I need to get an URL for each file to let me access it through http. Is this possible with dropbox api? Thanks in advance. 回答1: Check out DropboxAPI.Entry metadata() and DropboxAPI.DropboxLink share() here 来源: https://stackoverflow.com/questions/14942371/getting-file-url-from-a-dropbox-file-with-dropbox-api

How to download a Dropbox share linkage (aimed at a zip file) to local

一曲冷凌霜 提交于 2019-12-20 03:12:42
问题 I have following question and want help regarding that.I'm using Dropbox iOS SDK. Is it possible to download a Dropbox share linkage (aimed at a zip file) like https://www.dropbox.com/s/m2o28nls8m8uyx9/FacebookAPI.zip. I think I could use HTTP post method. However, the receive MIME Type is text/html rather than zip type. Thanks 回答1: i think you can try this: change your sharable link to: https://dl.dropbox.com/s/m2o28nls8m8uyx9/FacebookAPI.zip?dl=1 it works on my file. 来源: https:/

Laravel 5: redirect to an external link outside of localhost/server

不羁岁月 提交于 2019-12-19 12:27:29
问题 I want to build an app with laravel 5 & dropbox API in which I want the API allow/cancel-warning to be displayed when you land on the homepage, not when you click a button. I tried different methods but I couldn`t make it work. public function start(){ session(['user_id'=>1]); $dKey = 'key'; $dSecret = 'secret'; $appName = 'app'; $appInfo = new Dropbox\AppInfo($dKey,$dSecret); //store csrf token $tokenStore = new Dropbox\ArrayEntryStore($_SESSION,'dropbox-auth-csrf-token'); //define auth

Sending notifications from Mac to iPhone/ iPad/ iPod touch

扶醉桌前 提交于 2019-12-19 04:12:55
问题 I currently sell a Mac-only productivity tool that uses visual and audio notifications to remind the user of certain events taking place. I've started planning the iPhone and iPad versions of that Mac program and would like to be able to provide notification services from the Mac to the iPhone, e.g. instead of the Mac playing an audio cue, the iPhone could vibrate, etc. I have so far done very little iPhone development and I'm not really sure how the various push notification services work.

File uploading Dropbox v2.0 API

跟風遠走 提交于 2019-12-19 04:05:04
问题 I'm using the new Dropbox SDK v2 for .NET. I'm trying to upload a document to a Dropbox account. public async Task UploadDoc() { using (var dbx = new DropboxClient("XXXXXXXXXX")) { var full = await dbx.Users.GetCurrentAccountAsync(); await Upload(dbx, @"/MyApp/test", "test.txt","Testing!"); } } async Task Upload(DropboxClient dbx, string folder, string file, string content) { using (var mem = new MemoryStream(Encoding.UTF8.GetBytes(content))) { var updated = await dbx.Files.UploadAsync(

A simple sync with the iPhone DropBox API

北城以北 提交于 2019-12-18 12:38:18
问题 I am getting slightly frustrated with the DropBox API. It is supposed to be all simple and straight forward, but I have yet to come a across a simple and plain explanation of how to do a simple sync. I followed all the instruction you can find in the readme which comes withe DropBox API. To test the whole thing, I have created two buttons to download and upload a file from or to my DropBox. The files are found in my app documents folder. This works splendidly: -(void) DBupload:(id)sender {