I am pulling my hair here. Trying to authorize against the API using C# but I have no idea how to parse the response I get having used the API-instructions. I call
https://api.lockitron.com/oauth/authorize and to this I add the client_id, response_type and redirect_uri. Response is a complete webpage and all I want to try is to get the code in return.
Other than this I have tried using the restClient-add on in Firefox which returns the accesstoken (but is getting the authorize-code in the background).
I feel like a complete noob and would like for examples on how to consume the authorize using C#.