Dropbox File Picker
@lkred - here is how if fixed the tiny box issue ...
class DropboxView (ui.View): def __init__(self, path='/', height=400, width=400): tv = ui.TableView() self.frame = (0,0,width,height) tv.frame = self.frame self.flex = 'WH' tv.flex = self.flex o o o w, h = ui.get_screen_size() root_view = DropboxView(width=w/2,height=h/2) root_view.present('sheet') root_view.load_folder()
I made these changes to the Dropbox Picker but I am getting an error:
TypeError init() got an unexpected keyword argument 'width' on the 3rd to last line.
Where did I go wrong?
NM, I figured it out.
File picker throws error about wrong token although it’s 100% OK and previously everything worked fine.
Is it just me?
PS It seems that Dropbox API v1 is completely deprecated. Is there any options to use v2 API?
if you search the forums for dropbox api v2, or anything dropbox related in the last 6 months or so,myou should find several options that replace the depreciated dropbox module.