Skip to content
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

I would like to use sharingGetSharedLinkFile how does this work with your sdk #139

Open
jenton93 opened this issue Nov 9, 2018 · 1 comment

Comments

@jenton93
Copy link

jenton93 commented Nov 9, 2018

No description provided.

@dval
Copy link

dval commented Jan 7, 2020

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);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants