public static Long checkNumberOfNewImages(Instagram instagram, String tag) { Long nImages = getNumberOfImagesByTag(instagram, tag); TagInfo tagindb = TagInfo.get((long) 1); return nImages - tagindb.numberOfImages; }
public static void displayTagInfo() { TagInfo tagindb = TagInfo.get((long) 1); Logger.info(" tag_name : " + tagindb.tagName); Logger.info(" tag_count : " + tagindb.numberOfImages); } // displayTagInfo