上QQ阅读APP看书,第一时间看更新
Getting ready
In order to use the Twilio SMS output (objsmsmessage) binding, we need to do the following:
- Create a trail Twilio account from https://www.twilio.com/try-twilio.
- After successful creation of the account, grab ACCOUNT SID and AUTH TOKEN from the Twilio Dashboard, as shown in the following screenshot. We will create two App settings in the Application settings blade of the function app for both of these settings:
- In order to start sending messages, you need to create an active number within Twilio, which you can use as the from number that you could use for sending the SMS. You can create and manage numbers in Phone Numbers Dashboard. Navigate to https://www.twilio.com/console/phone-numbers/incoming and click on the Get Started button, as shown in the following screenshot:
- On the Get Started with Phone Numbers page, click on Get your first Twilio phone number , as shown in the following screenshot:
- Once you get your number, it will be listed as follows:
- The final step is to verify a number to which you would like to send an SMS. You can have only one number in your trail account. You can verify a number on the https://www.twilio.com/console/phone-numbers/verified page. The following is the screenshot of the list of verified numbers: