1

I want to develop some Chrome plugin with the Dropbox support to save user data files in user's Dropbox account.

  • User should login Dropbox account
  • User data should be stored in JSON format in Dropbox

So, is it possible to realize such integration scenario just using the Dropbox Javascipt API ? OR What will be the steps to achieve such purpose ?

Thanks,

2 Answers2

0

Yes. Register an app here and you should only need App Folder permissions. Once that is done you have full access to that folder as a filesystem via the Core API. You can create a file and write it to the user's Dropbox with writeFile and then read it back when necessary. One catch you need to watch out for is the user editing the file and messing some stuff up. If you were to store a useful copy somewhere you can check to see if it has changed and just reject user changes, but something to be aware of. Hope that helps!

Dan
  • 6,008
  • 7
  • 40
  • 41
  • Thank you Dan. My intention is just to save user data into the cloud. Dropbox was just one of the options, however storing with Google Sync seems more reasonable. – Halil AYYILDIZ Feb 20 '13 at 21:17
0

It would make more sense to save the data on the Google account that Chrome syncs with, especially for trivial data like settings.

How to synchronize Chrome extension data on different computers?

Community
  • 1
  • 1
fregante
  • 29,050
  • 14
  • 119
  • 159