skip to Main Content

sending SMS using Twillio in android

I am Using the Below Code ....But The SMS Does not Come... private void sendSms(String toPhoneNumber, String message){ OkHttpClient client = new OkHttpClient(); String ACCOUNT_SID="XXXXXXXXXXXXXXXXXXXXXXXXXX"; String AUTH_TOKEN="XFAXXXXXXXXXXXXXXXXXXXXXXXXX"; String url = "https://api.twilio.com/2010-04-01/Accounts/"+ACCOUNT_SID+"/SMS/Messages"; String base64EncodedCredentials = "Basic " + Base64.encodeToString((ACCOUNT_SID + ":"…

VIEW QUESTION
Back To Top
Search