Hello,
I am currently working on app (full permission) where I would like to choose a folder and then display the content on a webpage. It is important that it should be constantly looking for changes in that folder, so I am using longPoll endpoint.
My current flow is: Press a button 'Authorize' to get the access_token and then open a Dropbox.Chooser to select a folder. I would like to open the Dropbox Chooser popup after I get the access_token from the API, but Chrome automatically blocks the popups that don't come from a trusted event (as in a click) - same for Dropbox Chooser. From the UX, I don't want to use 2 buttons and I don't want to ask users to allow popups from my domain.
Long story short: My settings should contain access_token and folderId by launching the flow with one click.
I am stuck between documentation and differenet stack overflow responses but I was not able to implement something similar.
Thank you,
Bogdan