You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
Ghulam A.
9 years agoNew member | Level 1
Is linking necessary to download files?
Is it possible to download files from my app folder (Dropbox) to my app without linking an account? If so, how would I do that?
Greg-DB
9 years agoDropbox Staff
I recommend working through the tutorial to see how to call methods in that SDK. For example:
[self.restClient loadMetadata:@"/"];
So, using loadAccountInfo would look something like:
[self.restClient loadAccountInfo];
And you'd need to implement these delegate methods to get the response:
- (void)restClient:(DBRestClient*)client loadedAccountInfo:(DBAccountInfo*)info;
- (void)restClient:(DBRestClient*)client loadAccountInfoFailedWithError:(NSError*)error;
The App Console only lets you generate an OAuth 2 access token, so that wouldn't suit your needs, as you need an OAuth 1 access token. You can get that by implementing the app authorization flow per the tutorial just to use for your account, and then pulling the access token out using DBSession.credentialStoreForUserId. (Again though, I should emphasize that this is not a recommended way of using the API, which is why this isn't particularly easy. If you just need to distribute content to the users of your app, a CDN might be a better solution.)
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,880 PostsLatest Activity: 2 hours agoIf you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!