Comments
-
That's correct, access tokens are user-specific. It sounds like you mean that your app doesn't have its own user model, and is relying on the Dropbox app authorization flow as authentication. First, it's worth noting that OAuth 2 is for authorization, not authentication, e.g., see these blog posts. Anyway, if you do use…
-
The result of the OAuth 2 authorize URL you posted is an access token. When that access token (which is just a string) is returned to your app, you can store and re-use it in the future, so that you don't have to send the user to that authorize URL again. Since the access token is just a string, you can store is in…
-
Yes, your app can store and re-use the resulting access token for each user, so that it doesn't need to send the user through the OAuth app authorization flow each time. Exactly how you do so depends on your platform, and the library/SDK you're using, so I recommend referring to the relevant tutorial and/or documentation.
-
Yes, that's the right idea with only calling startOAuth2Authentication once. And thanks for your feedback on the StackOverflow etiquette! I'll be sure to pass that along to the right people.
-
My apologies for any offense or miscommunication here. Like you, we want to make sure the best content and answers are available to other developers. We agree that having the user re-authorize the app is a bad experience but it seems the confusion here is around the notion that re-authing the user (via…
-
[Cross-linking for reference: https://stackoverflow.com/questions/28428719/dropbox-com-android-packageinstaller-installappprogress-has-leaked-intentreceive ] I wasn't able to reproduce this when we discussed this on StackOverflow. Can you supply a small sample project that reproduces this issue so we can investigate?…
-
Yes, for server-side apps, we recommend using webhooks: https://www.dropbox.com/developers/webhooks/docs For client-side apps, or if webhooks won't suit your use case for whatever reason, you can use /longpoll_delta: https://www.dropbox.com/developers/core/docs#longpoll-delta
-
Unfortunately there's currently no supported way to download individual files from a shared link to a folder, but I'll be sure to pass this along as feedback.
-
Thanks for the feedback! I'm passing this along as a feature request to the team.
-
You can modify Dropbox share links for different behaviors, e.g., to return the file content, as shown here: https://www.dropbox.com/help/201 You can then issue a standard HTTPS GET request to download the raw content from the link.
-
No update on this.
-
Nothing new to report on this.
-
The Chooser doesn't currently offer a way to be initialized using an access token from the Core API, but I'll be sure to pass this along as feedback.
-
The Chooser doesn't currently return this information, but I'll be sure to pass this along as feedback. You can use the /2/sharing/get_shared_link_metadata API v2 endpoint to get some of this information though: https://www.dropbox.com/developers/documentation/http/documentation#sharing-get_shared_link_metadata
-
No new on that right now.
-
We don't have much information to share on the id value quite yet, but you may want to subscribe to the blog for announcements: https://blogs.dropbox.com/developers/ And thanks for the request regarding the Chooser.
-
The path you would specify is the path to the file in the Dropbox account that you want to delete. For example, to deleted a file called "test.docx" in a folder named "Documents" in the root of the Dropbox, the path would be "/Documents/text.docx". This is the same path you get from metadata elsewhere in the API, e.g.,…
-
No, the API does not have an endpoint for getting an arbitrary user's email address based on user ID.
-
No, the API doesn't currently return email address for members of shared folders like this, but I'll be sure to pass this along as feedback.
-
Sorry, no update on this right now.
-
I can't make any promises of course, but I'm sending this along as a request.
-
The SDK doesn't currently have .version or .version, but I'll be sure to pass this along as a request. You can currently check the version via this though: dropbox.rest.SDK_VERSION
-
Yes, you can share files using the /shares endpoint: https://www.dropbox.com/developers/core/docs#shares If you're using the official iOS Core SDK, that's the loadSharableLinkForFile method. In the official Android Core SDK, that's the share method.
-
When you try to access a link while it's broken, what error do you get?
-
It's not currently possible to restrict the user from viewing shared datastores they have access to in the web interface, but I'll be sure to pass this along as feedback.
-
We generally get to all production requests within a few business days. I've expedited your request though, so you should receive a response soon.
-
Since the connection is between the app and the team, not a particular user, the API doesn't provide this information. If you do need to know it, yes, you would need to ask the admin during the flow.
-
Are you using a Dropbox for Business API app? Apps for the Dropbox for Business API are linked to teams, not users, so there isn't a relevant user ID to return in that case.
-
Sorry, no news on this right now.
-
Thanks for the information. I was able to reproduce the crash by adding ArcGIS. :-) We'll investigate it using this reproduction.