'Cannot Access DropBox from Server Side Code

I have some back-end code in C# Windows Service that needs to go to dropBox and access some team folders. However all of the documentation that I have seen uses the Oauth Flow with redirects and it's assuming that I'm using a website.

I'm just curious is there a way to get an access token without doing HTTP types of redirects?

I'm currently using the DropBox.API 6.25.

Currently I'm getting an access token from the developers website but it starts with "sl" which means shortlived in dropbox.



Sources

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

Source: Stack Overflow

Solution Source