Comments (23)
Yes, the current version will stop working. I'm working on a port to v2 though.
from dropphp.
I'm working on it, should be done by the weekend.
from dropphp.
Which weekend you meant?
from dropphp.
Any progress?
from dropphp.
Sorry for the delay. Its more work than I expected.
I just pushed a first v2 version, only authentication, file listing, thumbnails, search, download and upload is working.
https://github.com/f4bsch/DropPHP/tree/api-v2
Functions not working:
Delta, LatestCuros, Copy, Move, Restore
from dropphp.
could you please also update the sample.php - it's not switched to v2 yet ;-) thanx
from dropphp.
@adilbo I updated the samples
from dropphp.
Do you have any dead line? Do you want test it?
from dropphp.
Any progress?
This can help you.
https://www.dropbox.com/developers/reference/migration-guide
from dropphp.
Note that the authentication process has changed (OAuth2). See sample.php .
from dropphp.
Thank you very much!
from dropphp.
Thank you very much, it works! 👍
from dropphp.
Undefined: error_summary, error_description with error:
"Not Found": , in apiCall(fileops/create_folder)
2.
undefined: $meta->size
Then I found this code:
$fh = @fopen($dest_path, 'wb'); if ($fh === false) { @fclose($rh); throw new DropboxException("Could not create file $dest_path !"); }
what is $rh?
It should be:
$fh = @fopen($dest_path, 'wb'); if (!$fh) { @fclose($fh); throw new DropboxException("Could not create file $dest_path !"); }
from dropphp.
On PHP 5.6 error:
Only variables should be passed by reference
for example this line:
return $this->apiCall("2/files/upload", $commit_params, true, file_get_contents($src_file));
and line:
$obj = json_decode(substr(@array_shift(array_filter($header_array, create_function('$s', 'return stripos($s, "dropbox-api-result:") === 0;'))), 20));
from dropphp.
When do you plan to release a final version?
The file things work for me, but I need account quota too, to update the script.
from dropphp.
Somebody here? DropPHP will stop working on june...
from dropphp.
As @f4bsch wrote, (#15 (comment)) a part of the featureset of DropPHP is already working - and I also got it running. I would advise to switch to this version if it fits your needs :).
from dropphp.
changing the functions is not a big deal, but I'm not used to work with git, so I'm not able to publish my changes (for me, the script now works with the functions I use...)
from dropphp.
By now the api-v2 branch should be merged into master and a new release should be made... and finally these issues should be closed, and any remaining v2 issues should be solved. I'm epxeriencing the same issue with our createFolder method...
from dropphp.
Hello thread, thank you for the efforts here, Dropbox API V1 endpoints will stop working on September 28th 2017, I'm very much hoping the DropPHP V2 update will be completed soon. Thank you!
from dropphp.
Is it updated now to api v2?
from dropphp.
@gety9 I can confirm that the current master-branch works with API v2. Although I had to make a small fix, see #23.
from dropphp.
I confirm, current master branch is v2 compatible.
@bilke thanks for the PR, I'll review
from dropphp.
Related Issues (20)
- How to set access token HOT 2
- Set link expiry (Direct Access) HOT 3
- 500 Internal Server Error HOT 1
- Update Script for API v2? HOT 3
- How to create upload media shareble url.
- Method access modifiers HOT 2
- License
- sample.php - undefined SetAccessToken HOT 2
- chunked upload not working in current HOT 2
- $dropbox->CreateFolder doesn't work without this edit to DropboxClient.php HOT 1
- Call to undefined method DropboxClient::SetAccessToken() HOT 1
- Issue with MAX_UPLOAD_CHUNK_SIZE = 150 * 1024 * 1024; HOT 3
- PHP warning - Deprecated: locale - line 50
- Cannot list files in larger folders HOT 1
- Error Constanta HOT 1
- Thank you for v2
- Send client file to dropbox
- Update for refresh tokens?
- PHP Warning: Undefined property: stdClass::$.tag - line 326
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dropphp.