I would like to use sharingGetSharedLinkFile how does this work with your sdk
jenton93 opened this issue · 1 comments
jenton93 commented
I would like to use sharingGetSharedLinkFile how does this work with your sdk
dval commented
From the docs:
https://github.com/kunalvarma05/dropbox-php-sdk/wiki/Working-with-Shared-Links-Folders
$dropbox = new Dropbox($app);
$pathToFile = "/hello-world.txt";
$response = $dropbox->postToAPI("/sharing/create_shared_link_with_settings", [
"path" => $pathToFile
]);
$data = $response->getDecodedBody();
var_dump($data);