Giter VIP home page Giter VIP logo

twilio-whatsapp-laravel's Introduction

Twilio-Whatsapp-Laravel

Programmable SMS Quickstart & Twilio Autopilot

Requirements

  • PHP 7 development environment
  • Global installation of Composer
  • Global installation of ngrok
  • Twilio Account
  • Google Account
  • WhatsApp Account
  • Init Commands

    sudo cp demo_credentials.json credentials.json

    sudo cp .env.example .env

    composer install

    Then update the .env file based on google project and if you have crdentials.json file already then only you have to replace the file in this directory.

    Start ngrok

    We will need our webhook.php file to be accessible through a public URL. To do this we will use ngrok. From your terminal run the command:

    php -S localhost:3000

    On a new terminal window, goto root file of ngrok and run the command:

    ./ngrok http 3000

    Set Up Autopilot Assistant

    From your Twilio account, head over to the Autopilot console and create a new assistant. I’ve named mine my-google-project.

    https://www.twilio.com/console/autopilot/list

    Twilio Sandbox for WhatsApp

    Since we will be using WhatsApp as our Autopilot channel, we need to set up our WhatsApp sandbox. On the left, click channels and select WhatsApp.

    Setup using: https://www.twilio.com/docs/autopilot/channels/whatsapp

    Thanks, and let me know if you have any queries.

    twilio-whatsapp-laravel's People

    Contributors

    dekts avatar

    Stargazers

     avatar  avatar  avatar

    Watchers

     avatar  avatar

    Forkers

    vcshailesh raziva

    twilio-whatsapp-laravel's Issues

    Credentials are required to create a Client

    hi!

    I tried to follow the tutorial but when I fill in the fields of the registration form and I click on register I get this error : Credentials are required to create a Client. But when I check in the database I see that the user has been registered

    Recommend Projects

    • React photo React

      A declarative, efficient, and flexible JavaScript library for building user interfaces.

    • Vue.js photo Vue.js

      🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

    • Typescript photo Typescript

      TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

    • TensorFlow photo TensorFlow

      An Open Source Machine Learning Framework for Everyone

    • Django photo Django

      The Web framework for perfectionists with deadlines.

    • D3 photo D3

      Bring data to life with SVG, Canvas and HTML. 📊📈🎉

    Recommend Topics

    • javascript

      JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

    • web

      Some thing interesting about web. New door for the world.

    • server

      A server is a program made to process requests and deliver data to clients.

    • Machine learning

      Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

    • Game

      Some thing interesting about game, make everyone happy.

    Recommend Org

    • Facebook photo Facebook

      We are working to build community through open source technology. NB: members must have two-factor auth.

    • Microsoft photo Microsoft

      Open source projects and samples from Microsoft.

    • Google photo Google

      Google ❤️ Open Source for everyone.

    • D3 photo D3

      Data-Driven Documents codes.