code: public <T> T flickrUpload(Map<String, String> params, byte[] photoData, Class<T> tClass) throws JinxException {
      if (this.oAuthAccessToken == null) {
        throw new JinxException("Jinx has not been configured with an OAuth Access Token.");
      }
      params.put("api_key", getApiKey());
      return uploadOrReplace(params, photoData, tClass, new OAuthRequest(Verb.POST, FLICKR_PHOTO_UPLOAD_URL));
    }
docs: Upload a photo or video to Flickr.
  <br>
  Do not call this directly. Use the {@link net.jeremybrooks.jinx.api.PhotosUploadApi} class.
  
  @param params    request parameters.
  @param photoData photo or video data to upload.
  @param tClass    the class that will be returned.
  @param <T>       type of the class returned.
  @return an instance of the specified class containing data from Flickr.
  @throws JinxException if there are any errors.