So i’m trying to upload an image to facebook graph API whatsapp media (having a hard time with how they name things) i tried on postman first and successfully get the uploaded media ID, but when i tried this on python with request objects i got error response 400 something like this: … Param file must be a file with
Tag: whatsapp
I’m trying to write a simple whatsapp bot with selenium but the messaging loop won’t work properly. What is the problem?
Answer In your code, you’re calling textbar.send_keys(message) before checking if the message is exit. You should move up your if statement so that you exit the program sooner. And put the find_element inside the loop to avoid StaleElementReferenceException. Eg:
Send WhatsApp message every 24 hours
I want to send a WhatsApp message every 24 hours automatically using python, with the pywhatkit library. Here is the code I got so far: Send every 24 hours adaptation: I would have to keep my PC on 24/7 for this to work. Is there any better way of doing it? Answer
How can I use a variable in website link using Python?
I want to send WhatsApp messages to numbers without adding them contact using Python. webbrowser.open(‘https://api.WhatsApp.com/send?phone=number’) I used upper code in my program but Ii want to ask that, I am making a TkInter project, in my program cph is phone number variable and I also called cph.get() function but how can I use this cph variable in this link. Answer