Skip to content

nokenwa/TwilioWhatsAppMothersDayPhotoBook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TwilioWhatsAppMothersDayPhotoBook

This is the TL;DR; to setup your Twilio WhatsApp Mother's Day photo Collection or any photo Collection you like.

Prerequisites

Step 1

Upload the images overlay-mother.png and blank.png to your Cloudinary Media Library

Step 2

Go to your Twilio Studio Dashboard and create a new flow using import from json use the JSON File in this repository

Step 3

Go to your Twilio Functions Dashboard and add the following environment variables and dependencies

Environment Variables:

  • CLOUDINARY_URL - You can find this here
  • PICTURE_WIDTH - I used 1200 for postcard sized printing
  • PICTURE_HEIGHT - I used 1600 for Postcard sized printing
  • PICTURE_OVERLAY_ID - The name of the overlay image after you have uploaded it to cloudinary. Warning cloudinary may change the name of your image when you upload it.

Dependencies:

  • promisify
  • got
  • cloudinary

Step 4

Create 2 Functions filled with the code from the two javascript files in this repository.

Step 5

Go to your Twilio Studio Flow and edit the Function URLs to reference your Twilio Functions

Step 6

Copy your Studio Flow Webhook URL into your WhatsApp Sand box Configuration

Step 7

Test it

I can’t wait to see what you build with Twilio WhatsApp. Let me know what you’re working on at: Twitter - @chatterboxCoder Email - [email protected] GitHub - nokenwa

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published