code: public String getUserProfile(String userId) throws FlickrException {
          Map<String, Object> parameters = new HashMap<String, Object>();
          parameters.put("method", METHOD_GET_USER_PROFILE);
  
          parameters.put("user_id", userId);
  
          Response response = transport.get(transport.getPath(), parameters, apiKey, sharedSecret);
          if (response.isError()) {
              throw new FlickrException(response.getErrorCode(), response.getErrorMessage());
          }
  
          Element payload = response.getPayload();
          return payload.getAttribute("url");
      }
docs: Get the URL for the user's profile.
  
  @param userId
  The user ID
  @return The URL
  @throws FlickrException