Is there a way to use WhatsApp API with third party apps? - selenium

I am new to using WhatsApp API. I am not sure but it seems that the api is for business users only. I want to use the api to send messages to users automatically based on a change in an app, (say PowerBI). I want to send updates regarding a report whenever a change is made and send it through whatsapp instead of email.

Yes, WhatsApp API is for business users. But, if you still looking for a WhatsApp bot I recommend Twilio, there are a lot of content about it in the internet. Check out this video, It's using python and really easy.

Related

Is there possibility to forward content from WhatsApp to our application using business api?

Is it possible to use the WhatsApp business API to communicate with users and also allow them to forward content from WhatsApp directly to our application. For example enabling Web-hooks for different WhatsApp channels to receive the messages from those channels. If yes, can someone guide me how can we implement this feature? and how can we authorize those channels with our WA business account
Finding sources/documentation for developing needed feature
Whatsapp API allows you to Broadcast messages to Unlimited Users, automate notifications, integrate Chatbots, provide Live Chat on Multiple devices and many more functions. Install the WhatsApp Business API Client and then Install your API client. Once your client is working, you can update your application settings. Start using the client, Register your phone number with an API call to /account and send a test message with a call to /messages . let me know if u find this helpful.
Yes, it is possible. The WhatsApp Business Platform allows medium and large businesses to communicate with their customers at scale. Using their APIs, businesses can connect thousands of agents and bots to interact with customers programmatically and manually. Additionally, the APIs can be integrated with numerous backend systems, such as CRM and marketing platforms
Here is the link for the documentation: https://developers.facebook.com/docs/whatsapp/overview
Link for different types of webhooks:
https://developers.facebook.com/docs/whatsapp/webhooks
There are multiple ways given in the documentation. But keep in mind, do read the documentation carefully, they have their updated and the previous version so use them as per your requirements.

How to integrate Google business messaging through API

Problems:
I am unable to enable Business Messages API, Because "Business Messages API" is not showing API list, While i am going to enable the API through the
https://console.cloud.google.com/apis/dashboard
I want to use auth token, while hitting the API, but the document is saying use the service.json for the credentials. i am following these doc. I am using "Google\Client()" with Laravel application.
https://developers.google.com/business-communications/business-messages/guides/how-to/agents?method=api
I am following these steps:
Login with google business account in the Dashboard
App taking multiple permissions as I have attached the permissions list and taking the auth token.
Open the chat box for the Business.
So please guide me, where i am going wrong. What is correct way to implement this.
Requirement:
I want to create a custom chat box for google businesses, Where business owner will login into the web app and He can easily manage the multiple business chats in one dashboard.
As per your given information, you have to be a partner of Google. As per google documentation, you need to be a partner of google and then you can create the agent and can send and receive messages. You can integrate the business messages API by following this documentation:
https://developers.google.com/business-communications/business-messages/guides
In this process, you need to be a partner of Google. The complete process is given on the link. If you follow this link, then you can use their built-in libraries easily and can send messages easily.
So far the permission for API, it might not be found for you because you might have to take permission for the particular project that is registered on google and then you will see the business messages API and you can enable it and use it. The reason as per the basic step:
https://developers.google.com/my-business/content/basic-setup
Sometimes, you have to submit the request form to take the API access for particular APIs. Or Share how are you using that API.
If you do not find a form for business messages API then you can ask for the information from bm-support#google.com. they mostly respond on a working day.

whatsapp business api is only used pre-selected company from whatsapp?

I guess whatsapp business api client is only used pre-selected company which whatsapp grant.
So, i want to know my guessing is right or not.
According to official guide, i need to register phone number to whatsapp.
I guess here exist whatsapp menu. but i can't see menu. (Sorry, i dont know the way website display english language)
Official guide mentions this. "If you cant see WhatsApp account option, you cant use Business API yet"
So i search how can i access Business API, and i can see this in WhatsApp FAQ.
Finally, according to below link, WhatsApp has granted to 90 pre-selected companies.
https://medium.com/callbell/what-changes-with-the-release-of-the-whatsapp-business-apis-46994316b763
As a result, if i want to use whatsapp business api, i need to use service which is provided official whatsapp partner company like twilio.
Someone tell me that My result is right?
Yes, you either need to fill out the request form to request access to WhatsApp Business API or use existing solution providers like Twilio.

How some whatsapp auto reply apps can use our own phone number to do auto reply? I want to build using PHP

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.

WhatsApp Business API send image to customer as first message

As far as I know, to use the WhatsApp Business API one must use the APIs developed by WhatsApp regional partners
Looking at our a regional partner API, one cannot send an image to the customer as for the first message of the conversation
Is this a WhatsApp Business API restriction or is can be the partner API restriction?
Right now this is a restriction by WhatsApp Business API. You can only use Message Templates as your first message which do not support images at the moment. You can read more about the API here: https://developers.facebook.com/docs/whatsapp/api/messages#cutoffcontrol