title: Instagram API Tagging Error Using Python
body: <p>I am trying to print out all the caption text that have 'Starhub' in
   it. It works, but I only able to print out a total of 19 text. </p>
  
  <p>Found this function: api.tag_recent_media(count, max_tag_id, tag_name)
   - <a href="https://github.com/Instagram/python-instagram" rel="nofollow">https://github.com/Instagram/python-instagram</a></p>
  
  <p>So I make use of that function, but it failed. I type 50 counts
   meaning I hope that 50 text would come out, but it only print out 19
   instead. </p>
  
  <p>My codes:</p>
  
  <pre><code> from instagram.client import InstagramAPI
   from instagram.bind import InstagramAPIError
  
   access_token = "&lt;TOKEN&gt;"
   client_secret = "&lt;SECRET&gt;"
  
   api = InstagramAPI(access_token=access_token, client_secret=client_secret)
   recent_media, next_ = api.tag_recent_media(count=50, tag_name="Starhub")
  
   count = 0
  
   for media in recent_media:       try:
        print media.caption.text, "---&gt;", media.user.username
        print ""
         count += 1
            except UnicodeEncodeError:
        pass
  
   print count
  </code></pre>
  
  <p>This code print out only 19. So what I try to do instead is this. </p>
  
  <p>I add this inside my code:</p>
  
  <pre><code> while next_:    
     more_media, next_ =api.tag_recent_media(with_next_url=next_)     
     recent_media.extend(more_media)
  </code></pre>
  
  <p>There is error: No paremeter value found for path variable; tag_name. </p>
  
  <p>Any idea how can I print out all text that have the tag 'Starhub'?</p>