Surye / mfp-keto-userscript

MyFitnessPal Keto Script
164 stars 54 forks source link

Numbers are still off #56

Closed dsarah3 closed 4 years ago

dsarah3 commented 5 years ago

Hi, I installed the updated script and now I am getting a 6% daily goal for net carbs, when it is set on MFP to 5%. The net carb totals are incorrect, also -- so far today I've had 21 g fiber, 22 g carbs, so it should read 1 net carb but says I had 4 net carbs.

Just to test things a bit, I set my carb goals to 0%, and net carb goals came back as 1% -- so it was still 1% off. I set it back to 5%, and it reads a 6% goal.

Here are the screen shots, thanks in advance for your reply!:

screen shot 2019-02-11 at 5 25 33 pm screen shot 2019-02-07 at 1 04 25 am
dsarah3 commented 5 years ago

Hi, I just noticed that my setting for 5% net carbs is correct on MFP UNTIL I ADD A FOOD! Once I add a food, the % changes to 6! Very odd. It was not doing that before. Any ideas? Thanks!

ghost commented 5 years ago

Hi Sarah,

I'm not sure why the % goal is wrong, although it might be a rounding error if you are specifying your goals in terms of grams. I've seen some discrepancies between the Android app and the website with some totals, and they seem to be rounding errors. I wouldn't be too concerned about a 1% discrepancy.

Also, I don't think the script has anything to do with the % values - they are calculated by MFP.

The other thing I noticed is that you don't seem to be using the modified version of the script I sent you. If you use my version, it changes the order of the columns:

image

Perhaps try deleting the script entirely from Tampermonkey, then refresh the MFP website, then add the script again, save it, and refresh MFP website.

dsarah3 commented 5 years ago

Yes, it was newbie-user error, you are 100% correct! For anyone who is reading this, the new script works!

nicolecoffer34 commented 4 years ago

Can I get the updated Chrome version as well - the one I have is not calculating the fiber and net carbs...I already uninstalled the script i had and reinstalled it and that didn't work

image