public static String getPagination(TagMediaFeed mediaFeed) {
    Pagination pa = mediaFeed.getPagination();

    if (pa != null) {
      Logger.info("		Pagination.getMinTagId : " + pa.getMinTagId());
      Logger.info("		Pagination.getNextMinId : " + pa.getNextMinId());
      Logger.info("		Pagination.getNextMaxId : " + pa.getNextMaxId());
      Logger.info("		Pagination.getNextMaxTagId : " + pa.getNextMaxTagId());
      Logger.info("		Pagination.getNextUrl : " + pa.getNextUrl());
      Logger.info("		----------------------------------------------");
    } // if

    return pa.getNextMaxId();
  } // getPagination