AlpVir Well-Known Member Licensed User Longtime User Aug 3, 2016 #1 You can send whatsapp messages directly to a specific contact, without going through the app ? Reading some posts seem to understand that this is not possible, but it is very old post and maybe now the situation has changed. If we could send text messages with attached image would be the ideal situation !
You can send whatsapp messages directly to a specific contact, without going through the app ? Reading some posts seem to understand that this is not possible, but it is very old post and maybe now the situation has changed. If we could send text messages with attached image would be the ideal situation !
NJDude Expert Licensed User Longtime User Aug 3, 2016 #2 It's still not possible since there's no official WhatsApp API. Upvote 0
AlpVir Well-Known Member Licensed User Longtime User Aug 3, 2016 #3 I suspected as much, but the hope is always last to die. Upvote 0
KMatle Expert Licensed User Longtime User Aug 3, 2016 #4 Be careful. WhatsApp will probably bann you (=phone number) if you do that without permission. Upvote 0
AlpVir Well-Known Member Licensed User Longtime User Aug 3, 2016 #5 @KMatle : Tank you for your warning. However, if I use the traditional way (ie use the intent) should be no problem. Correct ? Upvote 0
@KMatle : Tank you for your warning. However, if I use the traditional way (ie use the intent) should be no problem. Correct ?
NJDude Expert Licensed User Longtime User Aug 3, 2016 #6 Using intents is fine since you are using the app. Upvote 0
AlpVir Well-Known Member Licensed User Longtime User Aug 3, 2016 #7 Now the situation is more clear to me. Thank you ! Upvote 0
Star-Dust Expert Licensed User Longtime User Sep 28, 2017 #9 Try see also this: https://www.b4x.com/android/forum/t...set-message-to-specific-number.84398/#content Upvote 0
Try see also this: https://www.b4x.com/android/forum/t...set-message-to-specific-number.84398/#content
AlpVir Well-Known Member Licensed User Longtime User Sep 28, 2017 #10 Thank you ! The attached example works perfectly, with a minimum of interaction with WhatsAppp. However, I have not been able to make the next step: send the same message to numerous phone numbers. WhatsApp this function is called "broadcast". Upvote 0
Thank you ! The attached example works perfectly, with a minimum of interaction with WhatsAppp. However, I have not been able to make the next step: send the same message to numerous phone numbers. WhatsApp this function is called "broadcast".
DonManfred Expert Licensed User Longtime User Sep 28, 2017 #11 AlpVir said: WhatsApp this function is called "broadcast". Click to expand... Find a api from Whatsapp and we will help you porting it to B4A Upvote 0
AlpVir said: WhatsApp this function is called "broadcast". Click to expand... Find a api from Whatsapp and we will help you porting it to B4A
Star-Dust Expert Licensed User Longtime User Sep 28, 2017 #12 AlpVir said: Thank you ! The attached example works perfectly, with a minimum of interaction with WhatsAppp. However, I have not been able to make the next step: send the same message to numerous phone numbers. WhatsApp this function is called "broadcast". Click to expand... Awe will also find the solution for this, it's a matter of time Upvote 0
AlpVir said: Thank you ! The attached example works perfectly, with a minimum of interaction with WhatsAppp. However, I have not been able to make the next step: send the same message to numerous phone numbers. WhatsApp this function is called "broadcast". Click to expand... Awe will also find the solution for this, it's a matter of time
Star-Dust Expert Licensed User Longtime User Sep 28, 2017 #13 DonManfred said: Find a api from Whatsapp and we will help you porting it to B4A Click to expand... unfortunately the APIs that allowed all this have been eliminated. On official websites have only documented some APIs, which allow you to send and own messages not to select who. Or select a person but do not set the message. However APIs exist because browsers and Goggle + allow it to do so. I've seen third-party APIs (paid) that let you do so. Probably even the official ones will be paid, but I have not found any documentation. Also WhatsApp discourages the use of unofficial APIs, use pays parental responsibility peg to use WhatsApp Upvote 0
DonManfred said: Find a api from Whatsapp and we will help you porting it to B4A Click to expand... unfortunately the APIs that allowed all this have been eliminated. On official websites have only documented some APIs, which allow you to send and own messages not to select who. Or select a person but do not set the message. However APIs exist because browsers and Goggle + allow it to do so. I've seen third-party APIs (paid) that let you do so. Probably even the official ones will be paid, but I have not found any documentation. Also WhatsApp discourages the use of unofficial APIs, use pays parental responsibility peg to use WhatsApp
AlpVir Well-Known Member Licensed User Longtime User Sep 28, 2017 #14 I found this https://github.com/mgp25/Chat-API/wiki/WhatsAPI-Documentation Upvote 0
Star-Dust Expert Licensed User Longtime User Sep 28, 2017 #15 AlpVir said: I found this https://github.com/mgp25/Chat-API/wiki/WhatsAPI-Documentation Click to expand... are PHP APIs, to be used on web pages. Already the code I used I use web pages. The documents that DonManfred meant were Java APIs for Android See ufficial API: https://faq.whatsapp.com/en/android/28000012 These can also be switched to B4A without wrap, but use intent Upvote 0
AlpVir said: I found this https://github.com/mgp25/Chat-API/wiki/WhatsAPI-Documentation Click to expand... are PHP APIs, to be used on web pages. Already the code I used I use web pages. The documents that DonManfred meant were Java APIs for Android See ufficial API: https://faq.whatsapp.com/en/android/28000012 These can also be switched to B4A without wrap, but use intent