I'm trying to create a User interface where the user can enter her credential and phone number and send messages to some recipient using Twilio API
So as explained I created my account and initialized the Authentication key and token
private void button1_Click(object sender, EventArgs e)
{
string ssid = twilioSSIDBox.Text;
string token = twilioTokenBox.Text;
string number = twilioNumberBox.Text;
var client = new TwilioRestClient(Environment.GetEnvironmentVariable(ssid), Environment.GetEnvironmentVariable(token));
client.SendMessage(number, "+158965220", "Teting API message!");
}
After multiple test (hard coding the ssid and token and number ) and documentation consulting , the message is still not being sent on the visual studio platform and I'm not receiving any error message or anything
So my question is what I am missing? Do I need a certain library that allow visual studio to be able to send sms messages?
I'm using Visual studio 2015 and windows 10 platform
Thank you