Answered! Go to the Best Answer.
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
The notification your application receives represents date that the data was changed. However, we do not distinguish what information was changed. You will need to query the endpoints to get the data you need. With the information you mentioned, I would suspect you would only need to query 2 endpoints: the daily activity summary and heart rate endpoints. If you're retrieving the activity intraday step count, then you'll need to add that endpoint, too.
If a user is not syncing their device on a regular basis, or if there is a problem with the Fitbit webhook service, it is possible your application might not receive all notifications. Therefore, I would recommend keeping track of when you received the last notification. When the new notification is received, you can query for any new / updated data that is updated between the time period the 2 notifications were sent.
Best Answer
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
The notification your application receives represents date that the data was changed. However, we do not distinguish what information was changed. You will need to query the endpoints to get the data you need. With the information you mentioned, I would suspect you would only need to query 2 endpoints: the daily activity summary and heart rate endpoints. If you're retrieving the activity intraday step count, then you'll need to add that endpoint, too.
If a user is not syncing their device on a regular basis, or if there is a problem with the Fitbit webhook service, it is possible your application might not receive all notifications. Therefore, I would recommend keeping track of when you received the last notification. When the new notification is received, you can query for any new / updated data that is updated between the time period the 2 notifications were sent.
Best AnswerThank you that makes sense.
Best Answer