/** * Get the next page of tagged media objects from a previously executed request * * @param pagination * @throws InstagramException */ public TagMediaFeed getTagMediaInfoNextPage(Pagination pagination) throws InstagramException { return createInstagramObject( Verbs.GET, TagMediaFeed.class, StringUtils.removeStart(pagination.getNextUrl(), config.getApiURL()), null); }
/** * Get the next page of user feed objects from a previously executed request * * @param pagination * @throws InstagramException */ public UserFeed getUserFeedInfoNextPage(Pagination pagination) throws InstagramException { return createInstagramObject( Verbs.GET, UserFeed.class, StringUtils.removeStart(pagination.getNextUrl(), Constants.API_URL), null); }
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