02-05-2017 11:50
02-05-2017 11:50
My team and I are developing a chrome extension that makes requests for Fitbit user data throughout the day. It is not exceeding 150 requests/hour and the only data we need currently is the steps in the daily summary. These requests return the appropriate user data all day until late in the evening when it starts returning a 0 value for all keys in the summary. The user's fitbit account is accurate and the 0 value response is happening before the midnight reset. What may be causng the response to be 0?
Answered! Go to the Best Answer.
02-07-2017 08:51
02-07-2017 08:51
@KateDJ Probably due to the timezone the user is in. If you're using "today" as the date, and a user enters a new "today" via their timezone, then you'll see zeros.
02-07-2017 08:51
02-07-2017 08:51
@KateDJ Probably due to the timezone the user is in. If you're using "today" as the date, and a user enters a new "today" via their timezone, then you'll see zeros.
02-07-2017 09:03
02-07-2017 09:03
That was it, we were using 'today' instead of the date in our request. Thank you!