We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
katharina
9 years agoExplorer | Level 3
Re-authenticate using access token
Hi, i get access token in my app using dropbox api. i want to reauthenticate in the same app on other device using these access token. How i can program it in objective c. Kinldy provide me solutions...
Greg-DB
Dropbox Community Moderator
9 years agoCan you share the code you have so far and post the error or unexpected output you're getting? If I see what's not working for you, I may be able to offer more help.
Also, is your access token just one piece like that? If so, you likely have an OAuth 2 access token. You indicated you're using the v1 iOS Core SDK, which uses OAuth 1 access tokens, but if you got the token elsewhere, it is likely an OAuth 2 access token. You'll need an OAuth 1 access token if you're using the iOS Core SDK.
If you are working with an OAuth 2 access token, I do recommend using the API v2 SDK instead, per my original message. (That's recommended anyway, as API v1 is deprecated.)
Also, is your access token just one piece like that? If so, you likely have an OAuth 2 access token. You indicated you're using the v1 iOS Core SDK, which uses OAuth 1 access tokens, but if you got the token elsewhere, it is likely an OAuth 2 access token. You'll need an OAuth 1 access token if you're using the iOS Core SDK.
If you are working with an OAuth 2 access token, I do recommend using the API v2 SDK instead, per my original message. (That's recommended anyway, as API v1 is deprecated.)
katharina
9 years agoExplorer | Level 3
Hi Greg,
MY token is similar to this y4yp61aez2fn8
--- hope so that now you can understand my query.
My query---- How i can authorise from different devices using the access token or DBSesssion. And once i authorise i want to fetch the data of dropbox. i need the coding solution for this.
MY token is similar to this y4yp61aez2fn8
--- hope so that now you can understand my query.
My query---- How i can authorise from different devices using the access token or DBSesssion. And once i authorise i want to fetch the data of dropbox. i need the coding solution for this.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If 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, Facebook or Instagram.
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!