With a free twilio account you can only message VERIFIED (verify via OTP or call on thier phone numbers) numbers.
-
Create an account on Twilio(https://www.twilio.com/).
-
Verify a Phone Number on Twilio https://www.twilio.com/console/phone-numbers/verified. That you would like to message.
-
Get Twilio Account SID and Auth Token from https://www.twilio.com/console
-
Get Phone Numbers: Your Twilio Number (https://www.twilio.com/console/phone-numbers/incoming) Verified Receiver Phone Number You Want To Message (https://www.twilio.com/console/phone-numbers/verified)
-
Put your twilio Account SID, Auth Token and twilio phone numbers(yours, receiver) in send_textMessage.py
-
Clone this repository on your desktop.
-
Open your terminal(command prompt) and write this command: pip install twilio.
-
After installing it, write this command to run your message app: python Desktop/Python-Messaging-App-Twilio-master/send_textMessage.py OR
-
Open send_textMessage.py in IDLE and Run it!
Hurayyyy! You sent your first message through your Python Messaging App using Twilio API.