Am I even doing this right...? (is_live integration into my own site)

And the echo for tokenOK
You left in a print_r($profile_data);
So you probably left in some of the debugs in the token create

A lot of this script is built around it being CRON executed rahter than web executed. So it’s noisy on the loggging