我的代码:
from twilio.rest import Client
# Find these values at https://twilio.com/user/account
account_sid = "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
auth_token = "your_auth_token"
client = Client(account_sid, auth_token)
client.api.account.messages.create(
to="+#############",
from_="+###########",
body="Hello there!")
我得到的错误是:
^{pr2}$我想尽一切办法来制作SID和身份验证令牌based on this link,但我无法向我的手机发送任何短信
Twilio开发者布道者。在
响应中有一个URL可以帮助解释发生了什么。可悲的是,它似乎在日志中有些混乱。在
我的建议是你抓住错误,试着用另一种方法打印出来。试试这个,看看结果如何:
相关问题 更多 >
编程相关推荐