I have very basic and quick question. I am using PHP Dropbox API class written by Ben Tadiar. I use $object->metaData("/"); to get file list from dropbox. The data return does not include URL to download/preview of the file. So I have to call $object->media() method for each file to get the URL which results in lot of delay specially when file list is too long.
Is there anyway to get the download link along with filelist ???
Since I could not find any way to get download URL along with file list. The work around would be to list all the files without calling
$object->media()on each item. Instead, call this method to the file that user selected to download.A simple quick function would be something like this: