dropbox

File sharing service with an API? [closed]

懵懂的女人 提交于 2019-12-22 07:08:04
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 2 years ago . Is there a file sharing service akin to Dropbox or SugarSync that would offer an API? I would like to add a file sharing service to a website, but the full Dropbox interface is still too complicated for my users, so that I’d like an API to build a dead-simple list of files integrated to the website. There is a

Laravel and Dropbox WebAuth: “Missing CSRF token in session”

依然范特西╮ 提交于 2019-12-22 06:48:00
问题 I'm using Laravel 5.0 and trying to Authorize with Dropbox. I'm loosely following this example: http://dropbox.github.io/dropbox-sdk-php/api-docs/v1.1.x/class-Dropbox.WebAuth.html When I go to /start. I get redirected to Dropbox and click "Allow", but when I get redirected back to /finish, I keep getting Missing CSRF token in session. Does anyone have any ideas? I have read that $_SESSION doesn't work in Laravel but I'm not sure how else to go about it. Here is the code I am working with:

Image not being retrieved from Dropbox

自闭症网瘾萝莉.ら 提交于 2019-12-22 05:58:07
问题 Hi! I have an image slider. When I try toe retrieve the images from my server, the images are properly displayed. (http://stthomasmountmtc.org/index.html) However, when I try to retrieve the same images from Dropbox, the images are not displayed/retrieved. (http://stthomasmountmtc.org/index1.html) <img src="https://www.dropbox.com/s/woart55urbw792u/image1.jpg" alt="image" /> When I open the link in the src attribute in the browser, the images can be seen, so the link is obviously not broken.

Client-only Dropbox access

谁说我不能喝 提交于 2019-12-21 21:35:07
问题 I am trying to write an utility that logs into the user's Dropbox account and displays the files there (with some additional formatting, etc) in a browser. I would like to do this with only client-side technologies without any server-side code. Is this possible? I found this: http://code.google.com/p/dropbox-js/ - haven't tried it yet. It doesn't have much documentation on how to get started. Any other alternatives? 回答1: The Chooser API will not allow you to apply custom formatting to files.

Is it legitimate to use dropbox as file storage for my site?

两盒软妹~` 提交于 2019-12-21 07:20:12
问题 I am approaching the limits of my hosting plan. I doubled it once from 2 to 4 GB and my site (a popular woodworking community in Hebrew) is getting close to using the disk space available for the images people are uploading. I was wondering if it were a legitimate use of DropBox (or any of the other free cloud hosts), to serve the files of it as public files... i.e. whenever someone uploads a file to my server it will be instead uploaded using the DropBox API to the DropBox servers, and the

Upload website + database to dropbox with PHP

南楼画角 提交于 2019-12-21 06:42:17
问题 Does anyone know, if it's possible to backup my website and database to a dropbox account with php or something? And if it's possible, how can I do it the best way? :-) Best Regards Simon 回答1: Yes it is, have a look at the dropbox-php. Example Code from the documentation: /* Please supply your own consumer key and consumer secret */ $consumerKey = ''; $consumerSecret = ''; include 'Dropbox/autoload.php'; session_start(); $oauth = new Dropbox_OAuth_PHP($consumerKey, $consumerSecret); // If the

Using libcurl to upload files to DropBox

假装没事ソ 提交于 2019-12-21 03:58:13
问题 I'm trying to use the libcurl in a C/C++ application to post files to DropBox. I would like to use the "/files (POST)" API as documented here... https://www.dropbox.com/developers/reference/api#files-POST I am having problems with properly authenticating (OAuth) this call. It is unclear to me how to properly create the authentication signature. From some a sample I saw, it looked like they were reading in the whole file to create the HMAC-SHA1 encoding on. This seems problematic on large

share folder via Dropbox Ruby API

爱⌒轻易说出口 提交于 2019-12-21 03:00:06
问题 I want to share a dropbox folder via the Ruby API. Is it possible now or is there anyway? Thanks 回答1: There is always a way, but in this case it would require you to login programmatically via cURL and pass back and forth the data needed. I am trying to figure that out now myself. [Edit] Since there's still interest in this thread I'll post the basic instructions, it may have changed since I did this, but this is what was working 6 months ago. 1) You need to log in and remember your cookies.

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