Skip to content

Instantly share code, notes, and snippets.

@mrchrisadams
Created August 4, 2012 19:07
Show Gist options
  • Save mrchrisadams/3259399 to your computer and use it in GitHub Desktop.
Save mrchrisadams/3259399 to your computer and use it in GitHub Desktop.
automated trolling with twillio
ACCOUNTSID=TOP_SEKRIT
AUTHTOKEN=ALSO_SEKRIT
CALLERID=+447974xxxxxx # my number is 07974 368 xxx.

First, download this

https://www.twilio.com/labs/bash

Then register your number with twilio, so you can make calls from your mobile phone number:

https://www.twilio.com/user/account

Fill in .twiliorc file with your credentials, and put it into your home directory

vim ~/.twiliorc

Run the script, and laugh at such puerile tomfoolery

./twiliolololol.sh
echo "Hello Sam. This is an automated trolling message from mister chris adams using twillio at some hipster hackday. trolololololol. Have a lovely day. Prawn " | ./twilio-call +447979774xxx
Calling +447979774xxx from +447974368xxx...done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment