Trying to fetch a public resource fails with Error 401 : Unauthorized
ApiWrapper wrapper = new ApiWrapper(client_id, client_secret, null,null);
HttpResponse response = wrapper.get(Request.to("/tracks").with("CLIENT_ID", client_id, "order", "hotness"));
It works only if wrapper.login is called beforehand, which is not always possible and is not supposed to be necessary. It is problematic if you want to let your user explore the app a little bit without forcing him to authenticate himself as the first step.
As a workaround, making the call myself works perfectly (but it defeats the interest of having a wrapper):
HttpGet request = new HttpGet("http://api.soundcloud.com/tracks.json?client_id=YOUR_CLIENT_ID&order=hotness&limit=3");
HttpClient client = new DefaultHttpClient();
response = client.execute(request);
Allow requests without login
Thanks for the update, much appreciated !