python-whatsapp-bot icon indicating copy to clipboard operation
python-whatsapp-bot copied to clipboard

Build AI WhatsApp Bots with Pure Python

Results 16 python-whatsapp-bot issues
Sort by recently updated
recently updated
newest added

Asimple and secure

In `whatsapp_utils.py` module the function `process_whatsapp_message(body)` gets the `wa_id` parameter, but in line 92 we sent the response to the hardcoded environment parameter `"RECIPIENT_WAID"`. ![line_92](https://github.com/daveebbelaar/python-whatsapp-bot/assets/103217972/a7a2e4c5-125e-44a7-9845-bc1349af4afd) In order to answer to...

Hi im facing some issues with randomness I dont know what it is, but sometimes messages are resending, open ai assitante send a message with no user interaction in th...

Love this project! Though, before I dive in: any way to limit access to the bot? I'd like to set it up for personal use/testing and obviously don't want to...

Comment out line 86 since this is for future. The program fails with this in it.

views.py Change the end to the following. I commented out the original code and got the verification to work. I was getting a 403 error before. @webhook_blueprint.route("/webhook", methods=["GET"]) def webhook_get():...

The code in [assistants_quickstart.py](https://github.com/daveebbelaar/python-whatsapp-bot/blob/main/start/assistants_quickstart.py#L94) will fail to run unless you programmatically define the `assistant_id`. i.e. line 94 goes from this: `assistant = client.beta.assistants.retrieve("asst_7Wx2nQwoPWSf710jrdWTDlfE")` to this: `assistant = client.beta.assistants.retrieve(assistant.id)`

**Can anyone confirm that they got this to work with an Ngrok free account?** My suspicion is that due to the browser warning that comes up with the free account,...

Pyhton 3.11.2 on Debian, was getting constant 400 when trying to do anything, e.g. `400 Client Error: Bad Request for url: https://graph.facebook.com/v20.0/12345678/messages` Turned out to be because the `requests.post()` parameter...

Add me as a contact on WhatsApp. https://wa.me/qr/SPLRTYUCPEFMI1![shared_qr_code.png](https://github.com/user-attachments/assets/8cdc47ef-0c0c-4d9b-b767-975a95f3587f)