01-24-2021 13:06
01-24-2021 13:06
Hi,
I created an applet in IFTT (https://ifttt.com) using Fitbits Trigger called New weight logged
(This Trigger fires every time you log your weight in the Fitbit app or with the Aria scale).
I want to get the same notification (New weight logged) in my backend without using IFTTT. How can I do that?
Answered! Go to the Best Answer.
02-04-2021 16:13
02-04-2021 16:13
Hi @GeekBit,
You can use the Subscriptions API to be notified when a Fitbit user logs weight. When your application receives this notification, you'll need to query the appropriate endpoint to get the new data.
Use the following step to implement Subscription API:
Configure a simple notification URL as described in Receiving Update Notifications.
Make sure your subscriber endpoint is accessible from fitbit.com servers.
Configure your subscriber endpoints as described in Configure A Subscriber.
Verify your subscriber endpoint as described in Verify A Subscriber.
Authenticate Fitbit users on your site as described in the OAuth authentication API.
Add subscriptions as described in Add A Subscription.
I hope this helps. Let me know if you have any additional questions.
02-04-2021 16:13
02-04-2021 16:13
Hi @GeekBit,
You can use the Subscriptions API to be notified when a Fitbit user logs weight. When your application receives this notification, you'll need to query the appropriate endpoint to get the new data.
Use the following step to implement Subscription API:
Configure a simple notification URL as described in Receiving Update Notifications.
Make sure your subscriber endpoint is accessible from fitbit.com servers.
Configure your subscriber endpoints as described in Configure A Subscriber.
Verify your subscriber endpoint as described in Verify A Subscriber.
Authenticate Fitbit users on your site as described in the OAuth authentication API.
Add subscriptions as described in Add A Subscription.
I hope this helps. Let me know if you have any additional questions.
02-05-2021 00:04
02-05-2021 00:04
Thank you for your answer!
You don't happen to know where I can find some sample code (Microsoft .NET) to start with?
02-16-2021 10:06
02-16-2021 10:06
@GeekBit If you haven't done so already, I'd check out our community resources for sample code. I believe there is a .NET example there.