Questions tagged [dropbox-php]

Dropbox PHP SDK is MIT licensed and intended to be useful both as reference documentation and for regular use. However members of Dropbox developer community have also created alternative libraries in other programming languages.

The Dropbox API allows you to build the power of Dropbox directly into your app. The API provides methods to read and write from Dropbox securely, so your users can bring all their important files with them to your app. Get access to Dropbox PHP SDK Development Kit that provides access to the Dropbox REST API.

Source: Dropbox

122 questions
18
votes
2 answers

PHP x64 not supported x64 integer.. (Wamp & dropbox API)

I am trying to connect to the Dropbox API with WAMP x64 installed. This is the exception from the Dropbox authentication file that I got from this Dropbox php API Fatal error: Uncaught exception 'Exception' with message 'The Dropbox SDK uses 64-bit…
AlbertSamuel
  • 584
  • 10
  • 33
11
votes
3 answers

Call to undefined function readline()?

I am integrating Dropbox into my PHP based website. When i try to run the following code. i got this Fatal error: Call to undefined function readline() on the last line. require_once "dropbox-sdk/Dropbox/autoload.php"; use \Dropbox as dbx; $appInfo…
M Fayyaz
  • 131
  • 1
  • 2
  • 7
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
8
votes
3 answers

Retrieve contents of a public Dropbox folder?

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…
Sam
  • 2,152
  • 6
  • 31
  • 44
8
votes
2 answers

Dropbox uploading within script

I have a form that allows a user to fill in several aspects and then choose a file to upload. When the form is submitted, I want write some code that saves the file to a dropbox account and gets access to a direct download link and places this in a…
sark9012
  • 5,485
  • 18
  • 61
  • 99
7
votes
1 answer

Access dropbox api without clientside authentication?

I'm trying to create a smooth solution for sharing files with a custom presentation of the files (logos fonts etc). My ideal would be to put the files in a dropbox folder and then have a webpage, on a separate server, access those files over…
Himmators
  • 14,278
  • 36
  • 132
  • 223
6
votes
3 answers

How to copy files from server to Dropbox using PHP?

I think I may have found a PHP program to upload files from a specific folder onto my Dropbox account. The full solution can be found here. The code seems to work because files and folders a like are being uploaded. However, I don't want the files…
maltadolls
  • 191
  • 2
  • 11
5
votes
2 answers

Dropbox API direct account access

I have been studying the documentation for the Dropbox API but I couldn't find a way to directly access an account without going to the OAuth process. Is there a way to achieve that? My final goal is to have a webpage with a list of files and…
Zorrocaesar
  • 748
  • 1
  • 7
  • 22
4
votes
1 answer

Dropbox API - Get permanent link for my media?

I use "createTemporaryDirectLink" method to get links for streaming my video. it works like a charm... but every time I need to update these links as they expire. I wonder whether there is a possibility to get and then keep permanent links for…
user4474387
4
votes
4 answers

Dropbox API, renaming and unique IDs

I know this has been touched upon in this post, but I was hoping for some additional clarification about this. Currently, with the Dropbox Core API, there doesn't seem to be a way to track files that have been renamed. For example, if you're using…
CVEEP
  • 441
  • 4
  • 12
4
votes
2 answers

Unable to upload files to dropbox using php api?

I am trying to upload file using dropbox api but following Code shows some errors as: bootstrap.php // Register a simple autoload function spl_autoload_register(function($class){ $class = str_replace('\\', '/', $class); require_once('../' .…
Frank
  • 2,285
  • 7
  • 43
  • 68
3
votes
1 answer

How can I use the newly revamped Dropbox-PHP API?

I would like to use the Dropbox-PHP API that has recently come under development again. It is located here: http://code.google.com/p/dropbox-php/ I did cloned it with hg clone https://dropbox-php.googlecode.com/hg/ dropbox-php and I get this file…
cwd
  • 53,018
  • 53
  • 161
  • 198
3
votes
0 answers

Error:Dropbox Upload Function

Fatal Error: call to a member function uploadFile() on a non-object Getting this error of upload file function on Uploading File to dropbox using PHP API On live Server. Same Code Working fine on localhost and doing it in codeigniter. start of code…
3
votes
1 answer

dropbox php sdk error Missing CSRF token in session

I am using dropbox php sdk form my app i am trying to access core API using following code function getWebAuth() { $appInfo = dbx\AppInfo::loadFromJsonFile("../dropbox.json"); $clientIdentifier = "My-demo-app/1.0"; $redirectUri =…
user2373881
  • 119
  • 1
  • 2
  • 10
3
votes
2 answers

Dropbox app destined to interact with only one dropbox account

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…
cbaltatescu
  • 267
  • 1
  • 3
  • 7
1
2 3
8 9