We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.
Forum Discussion
Nenciu D.
10 years agoNew member | Level 1
How to get access token from browser?
Hi,
I'm using your new .net sdk v2 Dropbox.Api . I want to open the browser with authorize uri , then login and then get all the uri and parse it with your function called ParseTokenFragment(). It ...
Nenciu D.
10 years agoNew member | Level 1
Yes . I tried this one(my first try). Currently I'm using this method:
Uri authorizeUri = DropboxOAuth2Helper.GetAuthorizeUri(OauthResponseType.Token, appKey, RedirectUri, state: oauth2State);
And then I called System.Diagnostics.Process.Start(authorizeUri.ToString()) to open the browser with authorizeUri. Next step is that the user copies the responseUri to a textbox and then I have another button GetTokenBtn which calls ParseTokenFragment(responseUri) to obtain the token.
Simply said , what I wanted was to open a the browser,which contains the authentification(email and password of dropbox user to skip authentification) with authorize uri , then the resulting uri(responseUri) from the browser to be sent back to my application and then to call from my application ParseTokenFragment(responseUri) to obtain my token.
If that is not possible without searching into opened processes that will remain my solution.
Thanks for your support
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,876 PostsLatest Activity: 5 hours agoIf 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!