title: Why does the Facebook Graph API only respond with 5 days given a 7 day range?
body: <p>Apologies if this is not worded and formatted correctly, I am fresh out of bootcamp.</p>
  <p>My app queries a Facebook users page for analytic data using the following endpoint:</p>
  <p>{page_id}/insights/?since=08/01/2020&amp;until=08/07/2020&amp;metric=page_engaged_users</p>
  <p>The data i receive back is:</p>
  <pre><code>{
     &quot;data&quot;:[
        {
           &quot;name&quot;:&quot;page_engaged_users&quot;,
           &quot;period&quot;:&quot;day&quot;,
           &quot;values&quot;:[
              {
                 &quot;value&quot;:0,
                 &quot;end_time&quot;:&quot;2020-08-02T07:00:00+0000&quot;
              },
              {
                 &quot;value&quot;:0,
                 &quot;end_time&quot;:&quot;2020-08-03T07:00:00+0000&quot;
              },
              {
                 &quot;value&quot;:0,
                 &quot;end_time&quot;:&quot;2020-08-04T07:00:00+0000&quot;
              },
              {
                 &quot;value&quot;:0,
                 &quot;end_time&quot;:&quot;2020-08-05T07:00:00+0000&quot;
              },
              {
                 &quot;value&quot;:0,
                 &quot;end_time&quot;:&quot;2020-08-06T07:00:00+0000&quot;
              }
           ],
           &quot;title&quot;:&quot;Daily Page Engaged Users&quot;,
           &quot;description&quot;:&quot;Daily: The number of people who engaged with your Page. Engagement includes any click or story created. (Unique Users)&quot;,
           &quot;id&quot;:&quot;137088133587412/insights/page_engaged_users/day&quot;
        },
        {
           &quot;name&quot;:&quot;page_engaged_users&quot;,
           &quot;period&quot;:&quot;week&quot;,
           &quot;values&quot;:[
              {
                 &quot;value&quot;:0,
                 &quot;end_time&quot;:&quot;2020-08-02T07:00:00+0000&quot;
              },
              {
                 &quot;value&quot;:0,
                 &quot;end_time&quot;:&quot;2020-08-03T07:00:00+0000&quot;
              },
              {
                 &quot;value&quot;:0,
                 &quot;end_time&quot;:&quot;2020-08-04T07:00:00+0000&quot;
              },
              {
                 &quot;value&quot;:0,
                 &quot;end_time&quot;:&quot;2020-08-05T07:00:00+0000&quot;
              },
              {
                 &quot;value&quot;:0,
                 &quot;end_time&quot;:&quot;2020-08-06T07:00:00+0000&quot;
              }
           ],
           &quot;title&quot;:&quot;Weekly Page Engaged Users&quot;,
           &quot;description&quot;:&quot;Weekly: The number of people who engaged with your Page. Engagement includes any click or story created. (Unique Users)&quot;,
           &quot;id&quot;:&quot;137088133587412/insights/page_engaged_users/week&quot;
        },
        {
           &quot;name&quot;:&quot;page_engaged_users&quot;,
           &quot;period&quot;:&quot;days_28&quot;,
           &quot;values&quot;:[
              {
                 &quot;value&quot;:0,
                 &quot;end_time&quot;:&quot;2020-08-02T07:00:00+0000&quot;
              },
              {
                 &quot;value&quot;:0,
                 &quot;end_time&quot;:&quot;2020-08-03T07:00:00+0000&quot;
              },
              {
                 &quot;value&quot;:0,
                 &quot;end_time&quot;:&quot;2020-08-04T07:00:00+0000&quot;
              },
              {
                 &quot;value&quot;:0,
                 &quot;end_time&quot;:&quot;2020-08-05T07:00:00+0000&quot;
              },
              {
                 &quot;value&quot;:0,
                 &quot;end_time&quot;:&quot;2020-08-06T07:00:00+0000&quot;
              }
           ],
           &quot;title&quot;:&quot;28 Days Page Engaged Users&quot;,
           &quot;description&quot;:&quot;28 Days: The number of people who engaged with your Page. Engagement includes any click or story created. (Unique Users)&quot;,
           &quot;id&quot;:&quot;137088133587412/insights/page_engaged_users/days_28&quot;
        }
     ],
     &quot;paging&quot;:{
        &quot;previous&quot;:&quot;https://graph.facebook.com/v8.0/137088133587412/insights?access_token=EAAKPk7foIPMBAGtZCNNZBPVXyOZA6zzLV4Ni7YagWXDJ2dKpzWWiasedbVMKeFBBfB1W5tm2OH7zTMJhJe6IqDkhxNq6MhYfehB8ZC3Uem5QqLWKYFAQt8s97pZBgQTpRXCiz2BZBZCtecMOnwEzJhzcAmcBzQpjX5J9FQlvM6QfDO46Jz6MbDCLZBB10osuiInywsJsTb2jZCwZDZD&amp;pretty=1&amp;since=1595833200&amp;until=1596265200&amp;metric=page_engaged_users&quot;,
        &quot;next&quot;:&quot;https://graph.facebook.com/v8.0/137088133587412/insights?access_token=EAAKPk7foIPMBAGtZCNNZBPVXyOZA6zzLV4Ni7YagWXDJ2dKpzWWiasedbVMKeFBBfB1W5tm2OH7zTMJhJe6IqDkhxNq6MhYfehB8ZC3Uem5QqLWKYFAQt8s97pZBgQTpRXCiz2BZBZCtecMOnwEzJhzcAmcBzQpjX5J9FQlvM6QfDO46Jz6MbDCLZBB10osuiInywsJsTb2jZCwZDZD&amp;pretty=1&amp;since=1596697200&amp;until=1597129200&amp;metric=page_engaged_users&quot;
     }
  }
  </code></pre>
  <blockquote>
  <p>Values are all zero as the page doesn't have any views as I am
  testing.</p>
  <p>For some reason the data is returned in 3 seperate objects (day, week
  &amp; 28_days), not sure why its returned like that when i give it a range
  but thats not the main question at hand.</p>
  </blockquote>
  <p>My understanding of the data returned is that for the first value, the data is for 08/01/2020 (the 1st of august, a Saturday), denoted by &quot;end_time&quot; which is set for the start of 08/02/2020 (the start of 2nd of august, midnight 00:00).</p>
  <p>The data returned only includes 5 results, spanning 08/01/2020 - 08/05/2020 (Saturday the 1st of august to Thursday the 5th of august).</p>
  <p>I could understand if it only included 6 days (given a 7 day range) as it may be taking the 7th day as the end point, but it stops on the 5th day, needless to say I am extremely confused.</p>
  <p>Why don't I have 7 days worth of data or at least 6 days?</p>
  <p>I'm clearly not understanding a fundamental concept here.</p>