I want to search the comments published on any media for any particular key word or combination of few key words. My requirement is to get the comments containing that keyword with the help of API. I went through the documentation of Instagram API there I found that search can be made through hash-tag only and most of the time not necessarily my keyword is a hash-tag. So problem is I want to search though the text. That means if the text containing my keyword then it should return that text else not.
There is no API to search for "keywords", you can only search one hashtag with API, and it searches in photo caption as well as comments.
You will have to use /media/media-id/comments
API to get all comments, save it and then manually do a search. This is not efficient way.