Skip to content

abdelrahman0w/whatsapp-fastapi-webhook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WhatsApp FastAPI Webhook

Description

A simple webhook for WhatsApp API using FastAPI.

Dependencies

How to Use

  1. Export your own token as an env var
  2. Host the app on any server or serve the app using ngrok or any other tool
  3. Verify your token on "Meta Developers" page

How to Run Locally

You have to install ngrok or any other similar tool.

  1. Install the dependencies

    pip install -r requirements.txt
  2. Run the server

    python main.py
  3. Run ngrok

    If you changed the port in main.py file, you have to change it here as well.

    ngrok http 8000
  4. Use ngrok link as your Webhook link

About

A simple webhook for WhatsApp API using FastAPI.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages