我正在研究一個項目,我們需要將轉儲到網頁的傳入文本消息的歷史記錄。我已經開始使用Twilio REST API和php庫來獲取SMS日誌數據。不過,我目前遇到了無法抓取發送日期的問題。據Twilio說,我應該能夠迴應DateSent屬性。目前只有body和from目前正在爲我工作。 我的PHP: <?php
// this line loads the library
require('x
你好,我必須驗證我的應用程序中的用戶電話號碼。我已經實施twilio庫,但我無法發送短信。我得到這個錯誤 Uncaught exception 'Services_Twilio_RestException' with message 'The From phone number +120xxxxxxx is not a valid, SMS-capable inbound phone number