You have no favorites... yet!
Use the Library tree on the left to select a Choreo to call from your gateway device.
Use the Library tree on the left to select a Choreo to call from your edge device via the gateway.
Library . Fitbit . Foods . GetFavoriteFoods
Gets a list of a user's favorite foods.
/*
TembooTask class placeholder
*/
/*
TembooTask header placeholder
*/
Since you've changed your device configuration, you'll need to tell us about this new device.
This feature is in experimental mode - pricing coming soon.
Send your code straight to a GitHub repository.
Your code will be visible by others in your repos. Keep credentials private by saving a Profile or commit code with Placeholder inputs.
The following files will be added to this repo:
You'll be able to edit and share your code from TI's CCS Cloud IDE.
The following will be sent to CCS Cloud:
/*
Your auto-generated code will appear here once you've configured your device above.
*/
/*
A header file containing your Temboo account information will appear here once you've
configured your device above.
*/
/*
Please log in to generate proxy server code for use with the JavaScript SDK.
*/
This Choreo uses your OAuth credentials to authenticate your account with Fitbit, and retrieves a list of a user's favorite foods. The documentation for this Fitbit resource can be found here.
Here's an example list of acceptable inputs:
AccessToken: {YOUR FITBIT ACCESS TOKEN}
The following is a sample of the JSON information returned by this Choreo:
[ { "accessLevel": "PUBLIC", "brand": "", "calories": 228, "defaultServingSize": 100, "defaultUnit": { "id": 147, "name": "gram", "plural": "grams" }, "foodId": 30414, "locale": "en_US", "name": "Ice Cream, Fat 14%", "servings": [ { "multiplier": 0.2834952473640442, "servingSize": 1, "unit": { "id": 226, "name": "oz", "plural": "oz" }, "unitId": 226 }, { "multiplier": 4.535923957824707, "servingSize": 1, "unit": { "id": 180, "name": "lb", "plural": "lbs" }, "unitId": 180 }, { "multiplier": 1, "servingSize": 100, "unit": { "id": 147, "name": "gram", "plural": "grams" }, "unitId": 147 }, { "multiplier": 10, "servingSize": 1, "unit": { "id": 389, "name": "kg", "plural": "kg" }, "unitId": 389 } ], "units": [ 226, 180, 147, 389 ] } ]
https://ACCOUNT_NAME.temboolive.com/callback/google
© 2025 Temboo, Inc Privacy Terms