cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
We've been busy working on some major updates to the Community, so check out what's changing, what’s staying the same and what you can expect from the Dropbox Community right here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Unable to access all files filepaths that exists in a folder through dropbox API using PHP, CURL

Unable to access all files filepaths that exists in a folder through dropbox API using PHP, CURL

Varinder Singh
New member | Level 2

Hello, I am integrating the dropbox api on my website and I want to access the imagefile path to store through php with curl. I have used two endpoints for this. 

 

1) https://api.dropboxapi.com/2/files/list_folder

- To access all the filenames of the particular path mentioned in as a parameter.

 

2) https://api.dropboxapi.com/2/sharing/get_shared_links

- To access the image file path by filename  to store on my website.

 

Also sometimes getting has_more false and links with empty array.

But i am getting only 2 files with path and not getting all files as i needed.

1 Reply 1

Greg-DB
Dropbox Staff

I'll be happy to help with any issues you're having with the Dropbox API, but I'll need some more information. Please reply with:

  • the name and version number of the platform and SDK/library you are using, if any
  • the steps to reproduce the issue, including relevant code snippet(s), but don't include any access token(s)
  • the full text of the unexpected output
  • a sample of the output you do expect to get

Also, note that /2/sharing/get_shared_links is deprecated. Please migrate to using /2/sharing/list_shared_links instead.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?