Closed igorw closed 14 years ago
Sure. :)
When you have another app that needs to use the keys, there is currently no way to fetch them through this library (correct me if I'm wrong). By exposing the access_token method you can get access token/secret and pass them to your other app.
Bumping this.
Done, sorry.
Great, thanks!
How to reuse the access_token? I'm saving it in my db and then try to reuse it that way dropbox_session = Dropbox::Session.new('myappkey', 'myappsecret') dropbox_session.authorize(:access_token =>{ :token =>' userkey' ,:secret_token => 'usersecret'}) but I got a 403 error
You should use the Dropbox::Session#set_access_token
method to specify a custom access token and secret that you obtained from elsewhere.
Before I pull, I'd just like to know why? What's the motivation for exposing the access token?