hi everyone, in my Django web app, i have a function . which receives data from a view then uses the whatspp api url to open whatsapp which enables the user to send some messages
def messaging(subject, message, customer_mail, shipping_phone):
subject = subject
message = message
seller_contact='95668398939' #Assuming this is the sellers contct info.
web.open('https://web.whatsapp.com/send?phone=' + seller_contact + '&text=' + message)
time.sleep(30)
Now this works perfectly well on my local server. but on a live server it is ignored.
i have tried adding a print statement just above the web.open method and bellow it and they print out perfectly well. what can be going wrong