Esp8266 & ds18b20

The token connection method has been disabled, you will have to use MQTT. It looks like your code was cut off a bit at the end, but this link should help you.