'Dropbox API HTTP Unity3d Authorization

I am trying to use Dropbox's HTTP Api to get access to files from the Dropbox server. While I have been able to download the files by providing the required bearer code, I have not been able to automatically generate the required bearer token.

I have been following the documentations and was attempting to get the token with the auth2 workflow but have not been successful so far. Has anyone done this before?, I could really use some help.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source