Comments (5)
just fyi, for some phones this message will get divided into two or three since it's so long
from townhall-sms-alerts.
Hmm. What's our Max allowable characters for those, 140?
Also, you have any idea how many phones in use today still have that restriction?
from townhall-sms-alerts.
I dunno. Here is the info from Twilio: When you send a SMS message over 160 characters the message will be split. Large messages are segmented into 153 character segements and sent individually then rebuilt by the recipients device. For example, a 161 character message will be sent as two messages, one with 153 characters and the second with 8 characters.
from townhall-sms-alerts.
Gotcha. Let me see if I can massage the copy into fewer texts. You pretty much good otherwise?
from townhall-sms-alerts.
Okay, broke this down into three messages under 160 characters. Is this the way to do it, or would it just break up the text mid-sentence at 160?
1
Hi! Nathan here with Town Hall Project.
A 5-week Congressional recess is almost here--when hundreds of town halls are held, and we need YOUR help!
2
Can you volunteer just 1 hour / week from your own home to help us make sure Americans are informed of crucial opportunities to Show Up and Speak Out.
3
Thereโs no easier way to play a powerful part in holding our elected officials accountable. To learn more, please reply back with YES.
from townhall-sms-alerts.
Related Issues (20)
- write the test for townHall class HOT 1
- write the test to test sms.js HOT 1
- Handle multiple events better
- Full testing coverage
- mock firebase for better unit testing HOT 2
- only return senate events if they are within ~50 miles of the person's zip
- Save MessagingResponse() object on req, and only create one per session HOT 1
- save user phone number on req
- create users HOT 3
- listener on database... when a new event is created, looks to see if there are relevant users
- send from the queue, and delete on success HOT 1
- create text-to-send model and add to the queue HOT 1
- create the /broadcast route
- Write tests to cover user.js
- set up travis
- after sending event ask if person is going, and if they are their rep
- format alerts to have 'tomorrow' instead of the date
- increment a counter on town hall ids when a SMS message is successfully sent
- Send vol recruitment text to 39 states
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from townhall-sms-alerts.