code: private String getAuthCode(URI uri) {
  		String query = uri.getQuery();
  		Map<String, String> map = Splitter.on("&").trimResults().withKeyValueSeparator('=').split(query);
  		return map.get("code");
  	}
docs: query: code=###&client_id=