Printable Version of Topic

Click here to view this topic in its original format

HTMLHelp Forums _ Web Site Functionality _ WhatsApp

Posted by: Freshman Aug 12 2019, 09:04 AM


Hi all,

I found this to come closest to auto-sending. Just need to click the > button Still not sure how

https://web.whatsapp.com/send?phone=whatsappnumber&text=123&source=&data=

Not sure if the source and data or maybe another keyword will do it

Surely there must be a way to inspect the elements to identify the <Send> button and once the page loaded, click it

Any ideas?

Thanks a lot

Posted by: Christian J Aug 12 2019, 11:40 AM

What do you mean with "auto-sending"?

Posted by: pandy Aug 12 2019, 07:09 PM

I don't think we see the same page you do. We are redirected here.
https://web.whatsapp.com/

What is it you want to do?

Posted by: JoeEst Aug 13 2019, 05:58 AM

Do you mean to say about setting up Auto Reply or AutoResponder on WhatsApp?

Posted by: Freshman Aug 13 2019, 06:02 AM

QUOTE(pandy @ Aug 12 2019, 07:09 PM) *

I don't think we see the same page you do. We are redirected here.
https://web.whatsapp.com/

What is it you want to do?


Hi there,

The "whatsappnumber" part needed to change to a valid number to test.

Secondly you must be familiar with WhatsApp which I know in the US is not big

Try like this - it's a valid but unused number

CODE

https://web.whatsapp.com/send?phone=27833785512&text=123&source=&data=


It should open the WhatsApp web potral with a pre-populated message text '123' to the number I inserted in the URL

There is a right-arrow 'Send' button which must then be clicked to send the pre-populated message to the inserted number.
All I want to do is automate the send procedure

Making sense now?

Posted by: pandy Aug 13 2019, 08:57 AM

QUOTE(Freshman @ Aug 13 2019, 01:02 PM) *


Try like this - it's a valid but unused number

CODE

https://web.whatsapp.com/send?phone=27833785512&text=123&source=&data=



It should open the WhatsApp web potral with a pre-populated message text '123' to the number I inserted in the URL


Nope. Same redirection happens.

QUOTE
There is a right-arrow 'Send' button which must then be clicked to send the pre-populated message to the inserted number.
All I want to do is automate the send procedure

Making sense now?


So you want use the query string to automatically submit a form? You need to use the URL the form is submitted to, rather than the URL to the page the form is in (that could be the same URL, but typically isn't). With a normal form, that is. Whatsapp may have complicated things. And the form must use the GET method, not POST. Or rather, the script that it's submitted to must be able to handle a GET request.

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)