Adafruit Huzzah Esp8266 ::: base64_encode won't work

Well considering nobody ever responded to verify the code in the post you grabbed from worked I wouldn't assume it works. With that said, with my limited knowledge you need to set base64_encode as a variable.