What You’ll Learn in This Hour:
• How to send a message to Twitter
• How to send a direct versus a normal tweet
• How to sanitize messages
First, we need to add to our index.php file to allow a user to type in a message.
Open the file index.php, and after this line:
Add the following line: