Instagram API - can I search for user hashtag messages?
Possibly, but not just one request to the Instagram API. There are two solutions:
-
Search posts with a given hashtag name using a query
GET /tags/{tag-name}/media/recent
and then manually check each post if its user is the user you want. -
Search posts by a specific user using a query
GET /users/{user-id}/media/recent
and then manually check each post if the tag array contains the specific hashtags you want.
I would recommend choosing a solution where you can expect fewer results (messages) to filter. In most cases, this means the latter, because there are more posts on Instagram with a specific hashtag than the average user resource in its Instagram attribute.
You can test Instagram API requests using the Console API Console: http://instagram.com/developer/api-console/
source to share