We Want to Hear From You! What Do You Want to See on the Community? Tell us here!
Forum Discussion
Viktor S.4
11 years agoNew member | Level 1
Integration with KnpGaufretteBundle
Hi.
I'm integrating dropbox to my symfony2 application and I need next parameters:
- consumer_key
- consumer_secret
- some_token
- some_token_secret
... to use dropbox via OAuth1.
But at my application info dashboard (https://www.dropbox.com/developers/apps/info/bla-bla-bla)
I haven't 4 parameters, have only 3:
- App key
- App secret
- Generated access token
So, I haven't Token Secret. Where can I get it?
I think that this parameters from OAuth2 but I need OAuth1 parameters.
Thank you.
Links:
https://github.com/KnpLabs/KnpGaufretteBundle#dropbox-dropbox
8 Replies
Replies have been turned off for this discussion
- Steve M.11 years ago
Dropbox Staff
To get an OAuth 1 token and secret, you'll need to go through the OAuth flow.
If you just want a token and secret for your own account, I built an app to help with that: https://dbhelper.site44.com/.
If possible, I always recommend that people use OAuth 2 instead, though.
- Viktor S.411 years agoNew member | Level 1
Thank you, Steve.
One more question. Are that service secure?
- Steve M.11 years ago
Dropbox Staff
If you're asking whether dbhelper.site44.com is secure... you can read the source code yourself, but you should always be wary about using someone else's tool like this.
You might want to copy the source and run your own version of the tool. Or just switch to using OAuth 2. :-)
- Viktor S.411 years agoNew member | Level 1
Thank you again.
Gaufrette don't support Oauth2 as I see.
I've copied sources, connect scripts from CDN's and removed all local scripts. And that works.
Thank you. You're help me a lot. - Sela10 years agoNew member | Level 1
Hi Viktor,
I wonder if you found any bundle for Symfony to use OAuth2? I'm running to the same problem as you.
- Sela10 years agoNew member | Level 1
Hi Steve
where can I get the script you use for the dbhelper.site44.com ?
- Steve M.10 years ago
Dropbox Staff
Sela, you can just "view source" in whatever web browser you use. It's just JavaScript in a <script> tag.
- Sela10 years agoNew member | Level 1
Thanks Steve. I thought it's server side code.
I'm just curious how come no one created bundle for symfony and nothing for php for OAuth 2. I'm thinking maybe just to use another technology instead of PHP for this work as I don't fancy to write my own bundle.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.6,036 PostsLatest Activity: 9 months ago
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 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!