I am hoping someone has successfully tackled the Dropbox refresh token/access token maze (at least it is to me). I have been able to create a Refresh Token using THIS manual method using a Browser window and Windows Command Prompt (Terminal). It creates a long term Refresh Token that I can use to create a new temporary (4hr) access token using this in the Windows command prompt:
My question is: Is there a way of executing this Curl command from within a B4A program? At the moment my app works with 4 hourly refresh requests from the user and would like this process to be invisible to the user.
Download command is for GET, poststring is for POST method
Read httpjob documentation first, and then search for poststring and basic auth on the forums.