Using Dropbox API in php, how to show files in user interfac

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
nshthmistry
Forum Newbie
Posts: 3
Joined: Fri Feb 28, 2014 5:33 am

Using Dropbox API in php, how to show files in user interfac

Post by nshthmistry »

I have used Dropbox API in my website. I have completed Oauth and I'm successfully getting metadata. now i'm clueless..
MetaData:
Metadata content for /

Array
(
[hash] =>
[thumb_exists] =>
[bytes] => 0
[path] => /
[is_dir] => 1
[size] => 0 bytes
[root] => app_folder
[contents] => Array
(
[0] => Array
(
[revision] => 20
[rev] =>
[thumb_exists] => 1
[bytes] => 6974
[modified] => Fri, 28 Feb 2014 11:02:10 +0000
[client_mtime] => Fri, 28 Feb 2014 11:02:10 +0000
[path] => /skhan.jpg
[is_dir] =>
[icon] => page_white_picture
[root] => dropbox
[mime_type] => image/jpeg
[size] => 6.8 KB
)


How can i use this metadata to show files to users?

please help
User avatar
Celauran
Moderator
Posts: 6427
Joined: Tue Nov 09, 2010 2:39 pm
Location: Montreal, Canada

Re: Using Dropbox API in php, how to show files in user inte

Post by Celauran »

nshthmistry wrote:How can i use this metadata to show files to users?
How do you mean? Show a list of files? (You've already got that). Show the file contents? Download links? What are you trying to do?
Post Reply