Menu Home

SMS Broadcast Script, by NUS Hackers

During the 24-hours hackathon organized by the NUS Hackers, a convenient SMS broadcast script was born, in cool developer’s fashion.

The NUS Hackers used the script to send SMS to the hackathon participants, announcing important events such as lunch/dinner/pizzas..

This is how you can use too:

  1. git clone https://github.com/rahulg/textbcast
  2. Create a file (eg. phones.txt) with the phone numbers, separating each by a breakline
  3. Edit config file and enter your Hoiio App ID and Access Token, and also a sender name (if you don’t have SMS Rebranding enabled, enter your mobile number)
  4. Run ./bcast.sh phones.txt 
  5. Enter your desired SMS message
  6. Press Ctrl-D
  7. Press y

If all’s good, you will see success_ok status!

bcast

Categories: API for Developers Communication

Tagged as:

Hoiio

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: