01-19-2017 05:52
01-19-2017 05:52
For all users of my app, I would like to synchronize the steps server side. This allows me to send a push notification to the user in case a certain amount of steps per day are reached. For this, I would like to snychronize the step data between the fitbit server and our server every minute for every user.
I know that the Rate Limit is set to 150 requestst per hour and therefore a request for the step data every minute should be possible. My question is, will this still be accepted by fitbit in case we make requests for all of our users 24/7?
Answered! Go to the Best Answer.
Best Answer01-19-2017 08:41
Community Moderator Alumni are previous members of the Moderation Team, which ensures conversations are friendly, factual, and on-topic. Moderators are here to answer questions, escalate bugs, and make sure your voice is heard by the larger Fitbit team. Learn more
01-19-2017 08:41
@M_ichael You should use subscriptions instead of polling for data.
Fitbit trackers will automatically initiate a sync every 15-20 minutes (if a compatible device is nearby), or a user can manually sync their tracker.
Since a user's data has to sync before you're able to pull it, you would be making a lot of unnecessary requests polling for data every minute for every user.
Best Answer01-19-2017 08:41
Community Moderator Alumni are previous members of the Moderation Team, which ensures conversations are friendly, factual, and on-topic. Moderators are here to answer questions, escalate bugs, and make sure your voice is heard by the larger Fitbit team. Learn more
01-19-2017 08:41
@M_ichael You should use subscriptions instead of polling for data.
Fitbit trackers will automatically initiate a sync every 15-20 minutes (if a compatible device is nearby), or a user can manually sync their tracker.
Since a user's data has to sync before you're able to pull it, you would be making a lot of unnecessary requests polling for data every minute for every user.
Best Answer