title: How to get all posts in a limited date range in Instagram Graph API?
body: <p>I need to retrieve all posts from the instagram page associated to my business account.</p>
  
  <p>The Instagram API <a href="https://developers.facebook.com/docs/instagram-api/reference/user/media#get-media" rel="nofollow noreferrer">documentation</a> does not mention any way to get media only between a certain period.</p>
  
  <p>I´ve tried a analog request with the one I use in Facebook API</p>
  
  <pre><code>/{my_business_account_id}/media/?limit=100&amp;period=day&amp;access_token={my_user_access_token}&amp;since=2019-02-23&amp;until=2019-02-24&amp;fields=id,caption,like_count,media_type,media_url,timestamp,permalink,username
  </code></pre>
  
  <p>That request works but ignores the since / until parameters and retrieve literally all my posts.</p>
  
  <p>How do I limit the date range of the retrieved posts?</p>