mbeijen / SMS-Send-Twilio

perl5 SMS::Send driver using Twilio API
https://metacpan.org/pod/SMS::Send::Twilio
Other
0 stars 3 forks source link

Upgrade to /Messages resource URI #5

Closed jesteves closed 7 years ago

jesteves commented 7 years ago

You may want to consider this: https://support.twilio.com/hc/en-us/articles/223181028-Switching-from-SMS-Messages-resource-URI-to-Messages-resource-URI-

It seems to reduce to simply update only one line of code.

For such a minimal change I'm neglecting doing a pull request right now...

In Twilio's console the change is evident in that requests using [the deprecated] SMS/Messages have no "Delivery Steps", while the ones using /Messages have. It may be not a critical feature, but it is certainly a useful one.

GoodMirek commented 7 years ago

Another advantage of new resource is ability to split message into multiple segments, i.e. send messages longer than 160 chars.

jesteves commented 7 years ago

@mbeijen Thanks for this. Glad to collaborate. :+1:

mbeijen commented 7 years ago

Sure, no problem! It's on CPAN now, version 0.20.