Giter Site home page Giter Site logo

david-lev / pywa Goto Github PK

View Code? Open in Web Editor NEW
164.0 8.0 21.0 1.93 MB

๐Ÿ’ฌ Python wrapper for the WhatsApp Cloud API

Home Page: https://pywa.readthedocs.io

License: MIT License

Python 100.00%
wa wapy whatsapp whatsapp-api whatsapp-api-python whatsapp-bot whatsapp-chat whatsapp-chatbot whatsapp-cloud-api whatsappbot

pywa's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pywa's Issues

Sometimes not getting replies

Describe the bug

I am using @wa.on_callback_button(), @wa.on_message() Sometimes when it receives the message through the webhook it was receiving the message and printing in log but not doing any processing

To Reproduce

  1. Integrate with fastapi
  2. Create a Docker Compose Yaml
  3. make 3 instances
  4. add nginx as load balancer and deploy app
  5. send message and wait for sometime and try to continue conversation / try to start conversation with different new phone number

Expected behavior

No response

pywa version

1.16.2

python version

6.10

os

Ubuntu 22.04

Additional context

No response

No message sent

Describe the bug

I followed all the steps in the Get Started tutorial but when I send the message I get no whatsapp message
my terminal just print outs

wamid.<A_BUNCH_OF_LETTERS>

how I debug and figre out why the message isn't sent?

pywa version

1.5.3

python version

3.11.5

os

Fedora

Error in pywa library for templates with image headers

Discussed in #14

Originally posted by bcombes October 7, 2023
I'm not sure how best to file a bug report, but I found an error in the pywa send_template library when using image headers. According to the facebook docs, the key for the image location should be link and not url which results in the error below;

pywa.errors.WhatsAppError: WhatsAppError(message='(#100) Unexpected key "url" on param "template['components'][0]['parameters'][0]['image']".', details=None, code=100)

I've been trying to submit a PR to fix this, but not sure how.

Django Server need to implemented.

Describe the bug

This is a great app for whatsapp APIs
Please add django sever to reach a better community,

To Reproduce

No response

Expected behavior

No response

pywa version

No response

python version

No response

os

No response

Additional context

No response

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.