You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 11, 2023. It is now read-only.
Sorry, I'm still a newbie with Meteor/JS --- but I want to see Twilio callback/status info. I think the new version supports this but am not sure of the proper format on my Server code.
Originally code was:
TwilioClient.sendSMS({
to: phoneNumber,
body: message
});
Do I revise it as follows - "statusCallback" doesn't seem to work:
TwilioClient.sendSMS({
to: phoneNumber,
body: message,
statusCallback: function (error, info) {
if (error) {
throw new Meteor.Error(info,"Twilio");
} else {
console.log(info);
}
}
});
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Sorry, I'm still a newbie with Meteor/JS --- but I want to see Twilio callback/status info. I think the new version supports this but am not sure of the proper format on my Server code.
Originally code was:
TwilioClient.sendSMS({
to: phoneNumber,
body: message
});
Do I revise it as follows - "statusCallback" doesn't seem to work:
TwilioClient.sendSMS({
to: phoneNumber,
body: message,
statusCallback: function (error, info) {
if (error) {
throw new Meteor.Error(info,"Twilio");
} else {
console.log(info);
}
}
});
The text was updated successfully, but these errors were encountered: