First, install the DS18B20 termometer following the in instruction in DS18B20 here.
Next, create a Twilio account and then install Twilio API in your Beaglebone Black with following commands.
install -y python-dev libmysqlclient-dev
pip install twilio