![]() If you receive an error in response from Twilio or never receive the message, you may want to check out these tips for troubleshooting undelivered messages. You should see the status of your message, " queued", printed to your terminal. Save the file, then run the code with php send-sms.php one more time. Try adding a print statement like print($message->status). You can access any of these attributes from your PHP code, much like we did when we printed the sid. "media": "//Accounts/ACxxxxxxxx/Messages/SMxxxxxxxxxxxxx/Media.json" "uri": "//Accounts/ACxxxxxxxxx/Messages/SMxxxxxxxxxxxx.json", "body": "This is the ship that made the Kessel Run in fourteen parsecs?", There are two ways to install the PHP Helper library - which is easier depends on your platform.įrom a terminal, you can run the following command in your project directory:
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |