Animated GIFS via MMS
Text a search phrase to (202) 800-1334 to try it out.
This service is built in Ruby on Sinatra. To run this locally, sign up for a Twilio account and purchase an MMS enabled number for $1. On the Giphy API side, you can build an app using the public beta key, but you'll want to get an individual API key from the Giphy team before scaling to production.
- Clone this repo.
bundle installto install the gems.
- From a terminal, set the following environment variables:
export ACCOUNT_SID=yourtwilioaccountsidhere export AUTH_TOKEN=yourtwilioauthtokenhere export TWILIO_PHONE_NUMBER=+13128675309 export GIPHY_API_KEY=yourgiphyapikey
- Start the sinatra server:
- Open a tunnel to your local machine. If you use ngrok with custom subdomains, use:
./ngrok -subdomain=example 4567
- Click on your shiny new phone number in your Twilio dashboard and set the messaging webhook to