Comments
-
@"jw01" No, Dropbox doesn't offer a way to do customization/styling in the Embedder like that, but I'll pass this along as a feature request. Thanks!
-
@"Traye1" I'll check in with engineering and request they increase the priority.
-
Yes, you can use the OAuth flow to get non-temporary access token. Please refer to my post here for information.
-
We did have functionality built in to dropbox.com for a while after the Datastore API retirement for exporting a CSV file of the data, but unfortunately that's no longer available. Apologies I don't have better news for you!
-
@"ahmed-sharaf" @"winkelement" Apologies for the confusion! Please refer to my post here for information.
-
Dropbox API OAuth 2 access tokens don't expire, though they can be revoked. Users can manually revoke tokens themselves, e.g. via: https://www.dropbox.com/account/connected_apps Apps can also revoke access tokens via: https://www.dropbox.com/developers/documentation/http/documentation#auth-token-revoke
-
I can't help with the OpenAlpr side of things as that's not made by Dropbox, but Dropbox does offer an API you can use for listing, uploading, and downloading files to/from Dropbox, among other operations. You can find everything you need to get started with the Dropbox API, including documentation, tutorials, and SDKs…
-
Yes, you can use the same access token(s) in both development and production.
-
@"clarel" We've added a "view" parameter so you can choose between "list" and "grid". You can find more information in the documentation: https://www.dropbox.com/developers/embedder Hope this helps!
-
@"TobiasR" We've added a "zoom" parameter so you can choose between "best" and "fit". You can find more information in the documentation: https://www.dropbox.com/developers/embedder Hope this helps!
-
@"Traye1" This is still open with engineering, but I don't have an update on it yet. I'll follow up here once I do.
-
Yes, when using the OAuth 2 app authorization "code" flow with a redirect URI, the authorization code is returned in a URL parameter with the name "code" on the redirect URI. You would need to retrieve that parameter value, though exactly how you do so will depend on whatever web framework you're using. Or, if you're not…
-
Unfortunately I can't provide support for that side of the operation, since it's not related to the Dropbox API. I do notice you reversed "application/octet-stream" as "stream-octet" in your code though.
-
Yes, we can help rotate the app key and secret for an app without deleting the app. Open an API ticket here to start that process.
-
The .NET SDK isn't officially supported for Xamarin, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. For reference though, if you need to implement the OAuth app authorization flow, you can find the documentation here. And here's where it's implemented in the .NET…
-
No, unfortunately the 'force_reauthentication' OAuth parameter isn't currently implemented in the Dropbox API v2 Java/Android SDK, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
-
The /2/files/download endpoint is a "content-download" style endpoint, meaning that when the call is successful, the requested raw file data is returned in the response body, with the corresponding "Content-Type: application/octet-stream" header. That's what you're seeing when you print out your "fileBuffered" variable;…
-
Got it, thanks! That's helpful. We'll look into it.
-
Thanks for the report. For clarity though, can you also share the code and parameter values you're using, e.g., for filesListFolder, filesListFolderContinue, and filesListFolderLongpoll? That would help make sure we investigate the right scenario. Also, when you say this "results in a false positive change-loop", do you…
-
@"elsigh" wrote:does that cover the folder being polled? e.g. if I'm polling a folder A and a user goes and renames folder A to folder B I would catch that somewhere? Yes, if you listFolder for a path a particular folder and are polling using the returned cursor, you'll get `changes: true` if/when that folder itself is…
-
Thanks for sharing that. That is the error message from the Dropbox API. (Since it's an error about the malformed request, it is just text and not JSON, and so json_decode can't read it. You can check the response's 'Content-Type' to check this programmatically.) Anyway, the error message is indicating that the call failed…
-
@"Rohan87" wrote: Question: if the app is created for developers account and anyone accessing this app via their personal dropbox account, where will the docs save: in the app folder of my account or the client's account through which they authenticate? Dropbox API calls are made by using OAuth 2 access tokens,…
-
Can you clarify what you mean when you say you "lost that one"? Did you accidentally delete the app itself, or lose access to an entire account, etc.? For instance, if both app folders are in the same account and you still have access to the account, the easiest thing would be to manually move or copy the contents from one…
-
Dropbox doesn't offer actual templating for files/folders, but you can use /2/files/copy_v2 to make copies of any file or folder. Likewise, you can move items, e.g., from a shared folder to a team folder, or whatever you need, using /2/files/move_v2. By the way, those are links to the documentation for the HTTPS endpoints…
-
What's the value of $response2 itself, before you try to json_decode it? It's not guarantee to be JSON, e.g., if the called failed. If the call failed, the response body would contain an error. The error could be plain text, not JSON. You should always check the status code to see if the call succeeded or failed, and the…
-
@"TobiasR" Thanks for the report! We'll look into it.
-
It sounds like you're referring to calculating the "content_hash" value for a file in Dropbox as returned by the Dropbox API. You can find documentation and example code for this on the Content Hash page. In order to calculate the value correctly, you need to follow the instructions there exactly. That includes always…
-
I'm glad to hear you already got this working. You have the right idea in that you can call files_list_folder to list the contents of a folder, and then check the Metadata.path_lower (or Metadata.name) for the returned entries to see if the file extension is one you're interested in. Note though that you should also…
-
@"elsigh" Renaming a file or folder will be reflected by listFolder/listFolderContinue as a deletion of the item at the original path, and then an addition of the item at the new path. The file ID doesn't change when renaming an item in Dropbox though, so tracking that value is the best what to correlate these.
-
Thanks! We're looking into it. I'll follow up here once I have an update on this.