spatie / flysystem-dropbox

A flysystem driver for Dropbox that uses the v2 API
https://freek.dev/734-dropbox-will-turn-off-v1-of-their-api-soon-its-time-to-update-your-php-application
MIT License
343 stars 50 forks source link

Call to undefined method League\Flysystem\Filesystem::getTemporaryLink #36

Closed maitrepylos closed 6 years ago

maitrepylos commented 6 years ago

Hello, I am currently exploring your library by discovering step by step the different methods to apply to my project. I have a problem with getTemporaryLink. Thank you for your work.

maitrepylos commented 6 years ago

Sorry, I just figured I should use the client and not Filesystem.

andreyciocan commented 6 years ago

What do you mean by using the client?

dcblogdev commented 6 years ago

the client class:

use Spatie\Dropbox\Client;

$client = new Client($authorizationToken);
maitrepylos commented 6 years ago

+1