Mixcloud - Getting an access token
First you'll need to create and application. Then you will be assigned a client_id and client_secret.
Only browser based authorization is supported currently.
Redirect your user to
https://www.mixcloud.com/oauth/authorize?client_id=YOUR_CLIENT_ID&redirect_uri=YOUR_REDIRECT_URI
where they will be given the option to log in and allow or deny your application access to their data.
If the user accepts Mixcloud will redirect the user to YOUR_REDIRECT_URI?code=OAUTH_CODE.
Once you have received the OAUTH_CODE send a request to
https://www.mixcloud.com/oauth/access_token?client_id=YOUR_CLIENT_ID&redirect_uri=YOUR_REDIRECT_URI&client_secret=YOUR_CLIENT_SECRET&code=OAUTH_CODE.
This will respond with an access token:
access_token=YOUR_ACCESS_TOKEN
Which can be used on future requests as an access_token query string parameter to access protected resources.
Note it is possible for the user to revoke their access token so your application will need to handle An invalid access token was provided errors and re-authenticate the user.