Closed anomalabs closed 8 years ago
"Expecting value: line 1 column 1 (char 0)" tells me the very first character coming back is tricking the program into thinking it isn't JSON ..
Totally works for me, so I bet the issue that you're experiencing is that you've supplied the incorrect password. You may want to try clearing your stored password and trying once again.
Thanks @coddingtonbear!
It was a password problem. The myfitnesspal account was created and linked with a Facebook account. The MyFitnessPal password is not inherited from FB as I assumed. Once I unlinked the account and created my own password it worked.
Tried running in iPython Notebook & terminal .. same error:
import myfitnesspal
client = myfitnesspal.Client('wadatahaz')
JSONDecodeError Traceback (most recent call last)