09-25-2014 06:11
09-25-2014 06:11
After finding out that the only apps I can make has to relate to the data the Fitbit records, I would now like to know if it is possable to make the Fitbit Sync on command?
Or perhaps an alternative way to get the most accurate data?
I am looking at making an app that can perform a countdown of steps for a user. For example lets say a user would like to walk 100 steps to burn off something they have just eaten. I would like to then find out how many steps they have currently done (at that time - so may need to get it to sync) then perhaps check every minute until they have reached there goal. From what I have gathered I may need it to sync every minute (assuming there is new data to sync).
Any help would be appreciated 🙂
Brian
Answered! Go to the Best Answer.
09-25-2014 08:36
09-25-2014 08:36
The best you can do in this case is use Fitbit Subscriptions API. This way you'll be notified instantly everytime user syncs his tracker or enters data manuallly on website.
You still will have delays between times when user syncing his trackers, but at least you don't need to ask Fitbit API periodically, since Fitbit API will notify you when it has new data.
09-25-2014 08:12
09-25-2014 08:12
A user can manually initiate a sync on either the Desktop or Mobile Fitbit apps. There is not a way to programatically force your Fitbit to sync. Generally they sync automatically every 15-20 and that isn't customizable. http://help.fitbit.com/articles/en_US/Help_article/How-often-does-my-Fitbit-tracker-sync-with-my-com...
09-25-2014 08:19
09-25-2014 08:19
09-25-2014 08:36
09-25-2014 08:36
The best you can do in this case is use Fitbit Subscriptions API. This way you'll be notified instantly everytime user syncs his tracker or enters data manuallly on website.
You still will have delays between times when user syncing his trackers, but at least you don't need to ask Fitbit API periodically, since Fitbit API will notify you when it has new data.
11-18-2015 08:59
11-18-2015 08:59
11-21-2015 06:12
11-21-2015 06:12
@ibahdanau wrote:The best you can do in this case is use Fitbit Subscriptions API. This way you'll be notified instantly everytime user syncs his tracker or enters data manuallly on website.
You still will have delays between times when user syncing his trackers, but at least you don't need to ask Fitbit API periodically, since Fitbit API will notify you when it has new data.
There's also the query count limit of 150 per hour per user. Subscriptions API is definitely the way to go to get near-live data. But it is only triggered when the user updates the data on their phone.