Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to know if the user has entered his steps manually

Hallo, I am web developer, and now develop Webapp, which fetches how many steps user walked per a day by Fitbit Api.

My question:

How i can know if the user had entered steps Manual, and in practice no walked any more!

now i used the api request, and sum the respones as follow:

 

 

$apiRequest = $provider->getAuthenticatedRequest(
Fitbit::METHOD_GET,
Fitbit::BASE_FITBIT_API_URL . '/1/user/-/activities/steps/date/'.$startDateStr.'/'.$endDateStr.'.json',
$accessToken,
['headers' => [Fitbit::HEADER_ACCEPT_LANG => 'en_US'], [Fitbit::HEADER_ACCEPT_LOCALE => 'en_US']]
);
$apiRespone["activities-steps"]

 

 

 

Best Answer
0 Votes
0 REPLIES 0