title: Instagram graph API IG hashtag
body: <p>I need to get media from connected instagram profile by hashtag. For most part, I was successful, however I stumbled upon a few limitation I cannot find workaround for.</p>
  
  <ol>
  <li><p>When I fetch media on IG user, I can send username as a field and get it back. However, I cannot get username on <a href="https://developers.facebook.com/docs/instagram-api/reference/hashtag/top-media" rel="nofollow noreferrer">IG hashtag</a>, it is not listed as field in documentation, and throws error if I send one.</p></li>
  <li><p>I don't want to get back albums on IG hashtag, just image and video, but I can't seem to find a way to filter by type</p></li>
  </ol>
  
  <p>What is interesting, I found an <a href="https://www.esteelauder.com/trending-now" rel="nofollow noreferrer">example of site</a> that displays username when filtering by hashtag, but the only way I could think of achiving this is to send request for media details for each media I receive. Needless to say, I want to avoid it.</p>
  
  <p>Has anyone had a similar problem and solved it?</p>