-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[VD:Dropbox] API v1 is deprecated #1598
Comments
When it will be ready for testing please? No reason to wait to last day before deadline. |
Do you plan fix it please? |
@standus At the latest we want to handle up to V1 is finished, but I have not enough time now. 2017 first quarter about somehow to ... |
Time is very very fast. |
There is no official APIv2 PHP SDK, so we need to select a third party SDK. Currently there are two SDKs.
I will select kunalvarma05/dropbox-php-sdk. I ask for your opinion. |
When it will be ready for testing? |
@standus I started coding from today. I think that it will be possible to test in a couple of days. |
I done. We can be testing in nightly build. Thanks! 😄 |
Can you publish your config for Dropbox please? I tested with my old config and it doesn`t work.
|
If anybody will test it on localhost with this error: |
OK Naoki, |
I did not know DropPHP until now. The size of the library is small and good, but I think that Kunnu DB lib has versatility. By the way, it's about configure. Changed option name Dropbox2 use the OAuth2 so it need access token for OAuth2. You can get it from https://www.dropbox.com/developers/apps (Generated access token). Code example is // load composer autoload before load elFinder autoload If you need composer
require './vendor/autoload.php';
// elFinder autoload
require './autoload.php';
// ===============================================
// Required for Dropbox network mount
// Installation by composer
// `composer require kunalvarma05/dropbox-php-sdk`
// Enable network mount
elFinder::$netDrivers['dropbox2'] = 'Dropbox2';
// Dropbox2 Netmount driver need next two settings. You can get at https://www.dropbox.com/developers/apps
// AND reuire regist redirect url to "YOUR_CONNECTOR_URL?cmd=netmount&protocol=dropbox2&host=1"
define('ELFINDER_DROPBOX_APPKEY', 'YOUR APP KEY');
define('ELFINDER_DROPBOX_APPSECRET', 'YOUR APP SECRET');
// =============================================== AND array(
'alias' => 'elFinder@Dropbox',
'driver' => 'Dropbox2',
'path' => '/Public/elFinder',
'access_token' => 'YOUR TOKEN You can get from https://www.dropbox.com/developers/apps',
), |
On June 28, 2017, API v1 will be turned off, so it's time to move to API v2.
The text was updated successfully, but these errors were encountered: