I'm currently working on a feature for a web app using Dropbox. The feature involves some image editing using an HTML 5 Canvas and saving the canvas image to Dropbox.
I'm trying to get the canvas image converted to base64 image data and write directly to Dropbox using JavaScript on the client side only.
Since Dropbox API v1 is now deprecated,I'm trying to implement this in v2.
I've done some digging but most of the examples I can find were using the writeFile
method in version 1 API, like this one: Save image to dropbox with data from canvas
How may I get this to work with the v2 API?