Git Product home page Git Product logo

Comments (23)

fl4p avatar fl4p commented on July 20, 2024 2

Yes, the current version will stop working. I'm working on a port to v2 though.

from dropphp.

fl4p avatar fl4p commented on July 20, 2024 2

I'm working on it, should be done by the weekend.

from dropphp.

applibs avatar applibs commented on July 20, 2024 2

Which weekend you meant?

from dropphp.

applibs avatar applibs commented on July 20, 2024 1

Any progress?

from dropphp.

fl4p avatar fl4p commented on July 20, 2024 1

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.

gaffling avatar gaffling commented on July 20, 2024 1

could you please also update the sample.php - it's not switched to v2 yet ;-) thanx

from dropphp.

fl4p avatar fl4p commented on July 20, 2024 1

@adilbo I updated the samples

from dropphp.

applibs avatar applibs commented on July 20, 2024

Do you have any dead line? Do you want test it?

from dropphp.

applibs avatar applibs commented on July 20, 2024

Any progress?
This can help you.
https://www.dropbox.com/developers/reference/migration-guide

from dropphp.

fl4p avatar fl4p commented on July 20, 2024

Note that the authentication process has changed (OAuth2). See sample.php .

from dropphp.

nmaas87 avatar nmaas87 commented on July 20, 2024

Thank you very much!

from dropphp.

nmaas87 avatar nmaas87 commented on July 20, 2024

Thank you very much, it works! 👍

from dropphp.

applibs avatar applibs commented on July 20, 2024

My first test failed.
screenshot 2016-09-24 22 11 29
screenshot 2016-09-24 22 04 32

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.

applibs avatar applibs commented on July 20, 2024

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.

simube avatar simube commented on July 20, 2024

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.

alsanan avatar alsanan commented on July 20, 2024

Somebody here? DropPHP will stop working on june...

from dropphp.

nmaas87 avatar nmaas87 commented on July 20, 2024

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.

simube avatar simube commented on July 20, 2024

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.

micha137 avatar micha137 commented on July 20, 2024

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.

petenice avatar petenice commented on July 20, 2024

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.

gety9 avatar gety9 commented on July 20, 2024

Is it updated now to api v2?

from dropphp.

bilke avatar bilke commented on July 20, 2024

@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.

fl4p avatar fl4p commented on July 20, 2024

I confirm, current master branch is v2 compatible.

@bilke thanks for the PR, I'll review

from dropphp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.