I am using srmklive/flysystem-dropbox-v2 package with a Laravel 5.3 installation. My files are getting stored in dropbox however I'm not able to retrieve the shareable link of these dropbox files. Also, I want that the link should be visible to guest users too. Does anyone know how to go about this?
I have tried this, but this results in a file download whereas I need the shareable link for guest users.
$project_report_name = 'testdoc.docx'; //file saved in storage
$dropbox_client = new DropboxClient(env('DROPBOX_TOKEN'));
dd($dropbox_client->getTemporaryLink($project_report_name));