03-19-2023 16:09
03-19-2023 16:09
We are developing an application that uses data from fitbit thru the fitbit API. After the users have authorized and granted access to our app, we are able to get data thru the API as specified. So far, so good. Given the kind of user base that we are targeting, it is difficult for us to expect them to open the fitbit app on their phone every so often. Is there some setting on the app or the phone with which we can arrange for the data from the watch to flow thru to our app (thru subscriptions) whenever there's an update?
PS: I have already gone thru this thread but it doesn't answer the specific question that I have - https://community.fitbit.com/t5/Web-API-Development/API-to-find-out-when-the-user-last-synced-their-...
Answered! Go to the Best Answer.
03-20-2023 06:58
03-20-2023 06:58
Hi @sachinsdesai ,
Unfortunately, there is not a way for you to collect data directly off any Fitbit device without opening the Fitbit mobile application. However, here are some suggestions for you.
Best,
Gordon
03-20-2023 06:58
03-20-2023 06:58
Hi @sachinsdesai ,
Unfortunately, there is not a way for you to collect data directly off any Fitbit device without opening the Fitbit mobile application. However, here are some suggestions for you.
Best,
Gordon
03-20-2023 07:08
03-20-2023 07:08
06-22-2024 15:02
06-22-2024 15:02
Thank you for the answer. But there is something that I don't fully understand. I have a Fitbit device and have the Fitbit app installed on my phone. I open the Fitbit app maybe once a week (at the most!), but if I go to the Fitbit panel on the web (https://www.fitbit.com/), I can see the data almost in real time (maybe a 15-minute delay). So, per my understanding, it means that the Fitbit app on my phone is periodically collecting data from the device and then sending it to the Fitbit server, without user intervention. Isn't it?
So, if I use the Fitbit API, I should be able to collect all the data without me having to open the Fitbit app daily. Am I wrong?
Thanks!
06-22-2024 15:13
06-22-2024 15:13
@MarcVRosThat's exactly right. The Fitbit app runs in the background and tries to sync devices with the web server every 15 minutes or so. Anything that gets data from the server (eg, via the Web API) should be able to see that data. If you kill the Fitbit app or block it from running in the background, those syncs won't happen.
06-23-2024 22:45
06-23-2024 22:45
Thank you for your answer, Godwana.
Just to clarify myself, what GordonFitbit commented: "Unfortunately, there is not a way for you to collect data directly off any Fitbit device without opening the Fitbit mobile application", was only that the user must have the Fitbit app installed and configured on the device? The user doesn't have to open the app daily to let the data flow to the server. Am I right?
Thanks!
06-25-2024 08:10
06-25-2024 08:10
Hi @MarcVRos
You are correct the Fitbit mobile application needs to be installed and configured on the device. You do not need to open the app daily, but it does need to be running on the mobile device in the background so there is an active connection between the mobile app and the device.