10-30-2015 14:31
10-30-2015 14:31
When logging a food, is it not possible to post both a food id and a food description? Must you use only one or the other of them?
11-02-2015 09:20
11-02-2015 09:20
@jschrimshire wrote:
When logging a food, is it not possible to post both a food id and a food description? Must you use only one or the other of them?
I assume you are referring to foodId and foodName fields in the logging endpoint. In which case, yes you are correct.
11-03-2015 18:48
11-03-2015 18:48
can you change potassium from grams to milligrams in the food log? I am trying to add a protein shake and the potassium is in "mg" not "g", but I am unable to change the unit of measure in the log food menu, when creating a custom item
11-04-2015 11:42
11-04-2015 11:42
@tootie008 wrote:
can you change potassium from grams to milligrams in the food log? I am trying to add a protein shake and the potassium is in "mg" not "g", but I am unable to change the unit of measure in the log food menu, when creating a custom item
The unit used for potassium should be in "mg" already. Please see:
https://dev.fitbit.com/docs/food-logging/#approaches-to-logging-food
[the section titled "Additional Nutrition Information (optional and valid only with foodName)"]