use of me.postaddict.instagram.scraper.request.parameters.TagName in project instagram-java-scraper by postaddictme.
the class Instagram method getMediasByTag.
public Tag getMediasByTag(String tag, int pageCount) throws IOException {
validateTagName(tag);
GetMediaByTagRequest getMediaByTagRequest = new GetMediaByTagRequest(httpClient, mapper, delayHandler);
return getMediaByTagRequest.requestInstagramResult(new TagName(tag), pageCount, FIRST_PAGE);
}
Aggregations