i have downloaded whatsapp api,and i am trying to register in WART i get the ID but When i click on Request Code i get the error saying "could not request code using either sms or voice".reason:old_version.Anyone have any idea what to do?
i have already checked this links below.
http://www.wahelper.com/register-whatsapp-account-tool.html
https://github.com/mgp25/WART
https://github.com/mgp25/Chat-API/wiki/WhatsApp-Registration-Flow
Whatsapp drop support for old phones, and this API was based on those phones protocols
Related
I have been using Whatsapp API URL https://api.whatsapp.com/send?phone=XXXXXXXXXXXX to send messages to customers, just today it started to give an error "Phone Number shared via url is invalid"
This is only happening on the desktop app, using the same URL from phone opens up the mobile app and works as expected, is this something related to a rate limiting or some sort, I am using Whatsapp desktop app on Mac OS
This seems to be a new change introduced by Whatsapp. Earlier they allowed you to start a conversation with any number using their standard API url.
However, now it only allows you if the number is either:
Already present in your contact list
You've had a conversation with that number in the past
So in short, messaging to any number that is "unknown to you" is NOT allowed. Most likely this is done to reduce spam.
Ideally, they should display appropriate error message in this case instead of just saying "Phone number shared via url is invalid."
I have a Telegram web link to a message with a video like it https://t.me/TimurIvrit/1659.
In this url there are two parts: a channel name "TimurIvrit" and number "1659".
We use TDLib API to get data from the Telegram. This API works with channel ID and message ID. It is possible to get message data by these two IDs.
With TDLib I can search the channel "TimurIvrit" and extract its ID.
But I can't find the message ID for the message with number 1659.
When I open web link in a browser in this time a popup appears. If I push the "Open Telegram.app" button it redirects to Telegram desktop application: Launched external handler for 'tg://resolve?domain=TimurIvrit&post=1659'. From it I understand Telegram has a mechanism to resolving such links.
Is there a way to find the message ID by number from the web link?
We would like to add a hyperlink in our intranet which when clicked will open google chat conversation with the specified bot developed using Google Chat API.
When creating a chatbot via https://console.developers.google.com/apis/api/chat.googleapis.com/hangouts-chat?project=xxxxxxxx, the only identifying information about the bot appears to be an App ID (Project Number) and the Bot name.
As of 2020 version of Google Chat, there appears to be no documentation on how to create a direct URI to a user or bot ID) say something like https://chat.google.com/users/XXXXXXXXX where XXXXXXXX is the Bot ID
An inspection of the Google Chat Web Widget (https://chat.google.com) roster/contact list when communicating with the bot suggests that bot identifiers are of the form user/bot/114553095703997684XXX or user/114553095703997684XXX where 114553095703997684XXX is the App Id referenced earlier.
How can we programmatically construct a direct URI to the chat bot given its App ID or Name?
There is currently no method to create a URL that opens a space with a user or bot.
To get a list of spaces you would need to already be part of one.
I would suggest creating a Feature Request if you have not yet. Create an Issue and submit it as a Feature Request.
I'm applying from Twilio to use their WhatsApp API service they are providing to build a WhatsApp auto-reply bot. But the problem here is that they want us to use the phone number they provide to us which we need to buy from them.
I tried using the URL 'https://api.whatsapp.com/send?phone=15551234567' but it just redirects to a page to send a message which I need to click 'Send' in order for it to submit our message. Besides that, we need to be able to trigger the application that a message is received from a recipient so we still need to access the API.
So how exactly is it I want to build a Whatsapp Auto Reply service to the public if Twilio provides it's own phone number only to reply. I want to reply using phone numbers that my clients register with me which is their own phone numbers.
As we know Whatsapp API is not open for public but how other Whatsapp Auto Reply apps are able to use our phone number to auto-reply to our recipients?
Would love some feedback or solutions from StackOverflow community. Thanks.
Twilio developer evangelist here.
Currently the Twilio documentation on using numbers on WhatsApp says:
Currently, we are unable to enable WhatsApp on non-Twilio numbers; support for this is coming soon and we will update these docs once available.
So this is just a current limitation and will be changed in the future.
I came across a newsletter in which they have a WhatsApp link and when i click on it i am able send predefined message to predefined number.
SEND INQUIRY VIA WHATSAPP button is linked to below for example
https://whatsapp://send?phone=XXXXXXXX&text=Hi%2C%20this%20is%20test%20message.
Can i use this link in my newsletter without any restriction as i have a database of 2000 subscribers...
or i have to use some sort of verified mechanism using API so that whatsapp is not abused.
This link seems to be vulnerable and can be used for spam or its fine to use it
your URL is basically mal-formed.
The whatsapp:// is a kind-of protocol for transmitting information, and what you can do is to add it to a webpage as a link, so the visitor, upon clicking on that link from their phone, can access directly to Whatsapp.
Remember the oldie-goldie mailto:// which allow visitors to directly open the mail client they have on their computer, and pre-fill some email fields? This is the same.
Here is a really simple code-pen showing how can this be achieved.
Be sure to visit the codepen from your mobile:
https://codepen.io/diereysaa/pen/QWbjXGW
Replying to your specific question, there's no limitation on the use of this, since the executor will be each one of your subscribers, not your webserver. The only limitation will be your own phone, because if all of those 2,000 subscribers reply using the whatsapp link... you'll get 2,000 messages :D