我用twilio api发送文字? [英] i am use twilio api for sending text ?

查看:101
本文介绍了我用twilio api发送文字?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用teilio api发送文字但是文字无法发送而且无法显示错误这里是我的代码







string AccountSid = AcountSID;

string AuthToken = Authtoken ;;



var twilio = new TwilioRestClient(AccountSid,AuthToken );

var message = twilio.SendMessage(fromNumber,TO Number," Jenny please ?!我爱你< 3","");



Console.WriteLine(message.Sid);

解决方案

按照这篇文章,它对我有用

http:// www。 asp.net/identity/overview/features-api/two-factor-authentication-using-sms-and-email-with-aspnet-identity

i am using teilio api for sending text but text cannot send and can not show error here is my code



string AccountSid = AcountSID;
string AuthToken =Authtoken;;

var twilio = new TwilioRestClient(AccountSid, AuthToken);
var message = twilio.SendMessage(fromNumber,TO Number, "Jenny please?! I love you <3", "");

Console.WriteLine(message.Sid);

解决方案

Follow this article, it worked for me
http://www.asp.net/identity/overview/features-api/two-factor-authentication-using-sms-and-email-with-aspnet-identity


这篇关于我用twilio api发送文字?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆