Smash Mouth liked this project and my use of their song "All Star" so much, they retweeted it and called me a #TechStar.
My project and I were both discussed on the Stack Overflow podcast (episode #126).
Song Button was created in a workshop about Azure Functions, Twilio, and Flic, run by Chloe Condon at Microsoft Reactor in Manhattan. When a user presses their Flic button, it sends a lyric text or musical call to the intended recipient. This project has been endorsed by Smash Mouth, Twilio, and Flic.
Sends songs and lyrics at the click of a button!
Note: the text message says: "someBODY once told me" and the caller ID says "Smash Mouth"
I coded and developed this project!
This idea came from an exploration of Azure Functions and Twilio to make a localized app that would run on my phone, triggered by a button click. I used Chloe Condon's Ambivert Fake Boyfriend tutorial (for a much more in-depth step-by-step guide, go check it out!). The result is a friendly musical spam bot! When users click their Flic button, their friends (or enemies) will receive text messages with lyrics or phone calls that play whole songs.
How It Works
To get this thing working, there are four things I needed: an Azure account, a Twilio account, your cellphone, and a Flic button. The last one is optional but it makes the whole project more fun (and deploying it becomes sneakier and easier). While Azure and Twilio both have premium accounts, they both offer long-term, full-fledged free trials that make it simple for anyone to dive right in.
Second, I headed on over to Twilio to grab a phone number that could send SMS messages and make calls. This number is in charge of sending everything out-going. Twilio provided an AUTH TOKEN and ACCOUNT SID (basically, the username and password for your unique Twilio number) for me to put in my Azure Function, officially setting my Twilio number as the "sender". This number remained static throughout the whole process (I changed the "receiver" number around many times - usually testing with my personal digits, but occasionally testing with a friend's cellphone just for fun).
Heading back over to my Azure Function, I actually wrote the code necessary for sending text messages and linked it up with my Twilio account. Then I did it again to send phone calls. Again, if you want specifics on the code I wrote, please check out THIS GitHub tutorial.
To break it down in tl;dr format:
Button calls on my Azure Function (which is where I instruct everything how to run)
Azure Function calls on my Twilio code and assets (which is where I store all the information I need to make the call or send the text)
Twilio sends a text/call to the recipient phone from my unique Twilio account number
I'm planning on working with Flic and Twilio to turn this into an app - sending songs to your friends with the click of a button! First immediate steps will be masking all Twilio numbers so "receivers" can't call back, making the whole thing more anonymous.