-
Server Error 500 requesting OAuth 2 access token
Hello Community, I have just created an app for the dropbox API. I have entered my local development URL in the OAuth 2 section, and added it. Upon clicking 'Generate access token' it throws a post 500 error, and I am not able to get a token. Any ideas? Cheers!
-
Fully understanding FilesPhotoMetadata
Dear Dropbox In the JS API it says in FilesPhotoMetadata: time_takenTimestamp<optional>The timestamp when the photo/video is taken. I wanted to confirm the exact photo metadata tag this represents. Is this the tag it represents: 0x9003DateTimeOriginalstringExifIFD(date/time when original image was taken) Best regards,…
-
Will the file ID never change?
The ID described in the FilesFileMetadata here. Can I use this ID to identify a certain file in my dropbox through the API without fail? E.g. If I use this ID with a webpage where I can add 'notes' to the images, save these notes in a database linked to the image ID's; will my notes still be linked to the correct images…
-
How to display images (get their links) without making two API calls? (Javascript API)
So I currently have a set up to display images on a webpage: dbx.filesListFolder({path: ""}) .then(function(response) { response.entries.forEach( (file) => { dbx.filesGetThumbnail({path: file.path_display, size: 'w1024h768'}) // And here I wrote the code that creates <img> to display them on my page. However, this makes my…
-
How to show a GIF thumbnail that is animated with the Dropbox JavaScript API?
So I have a folder full of GIF's. Each of them might be around 2~6 MB in size. They are too large to display in a gallery at once, so I'd like to load them as thumbnails. But the `dbx.filesGetThumbnail` doesn't work with animation it seems. What is the way to load smaller versions of my GIFs that are still animated?
-
How to access (read/write) advanced file EXIF/metadata in the Dropbox JavaScript API?
How to access (read/write) advanced file metadata in the Dropbox JavaScript API? I'm talking about things like: MacOS file tags. I think they are stored in the file's EXIF data. If I can retrieve a valid file-blob from the JS API then maybe I can use a JS plugin that can extract EXIF data from a blob, like this plugin. But…
-
How to use Global Javascript API functions?
Hello Community, I found a list of extra functions to use and I want to try out `FilesFileMetadata`, to look at Metadata of a photo. However, `dbx.FilesFileMetadata` doesn't exist, and leaving out the `dbx.` also doesn't. I looked for a guide on the global functions, but I couldn't find one. Does anyone know how to use…
-
dropbox javascript api points to folder inside of Apps directory
Hello community, I have created a dropbox App with 'Permission type: App folder'. I have filled in a name in the 'App folder name' and this was automatically created in my Dropbox in a directory `/App/folder-name` Now I have 2 questions: 1. Can I also point the dropbox Javascript API to an existing folder outside the `App`…