Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Whatsapp Business API in botman #853

Closed
dafner opened this issue Aug 2, 2018 · 21 comments
Closed

Whatsapp Business API in botman #853

dafner opened this issue Aug 2, 2018 · 21 comments

Comments

@dafner
Copy link

dafner commented Aug 2, 2018

As a Botman user developing bots for facebook messenger, I wanted to know if it is planned to add whatsapp to the Botman platform?
Especially considering that the way to communicate with the api is very similar to facebook messenger.

Here I leave the links of whatsapp Business APIs

https://developers.facebook.com/docs/whatsapp
https://developers.facebook.com/docs/whatsapp/api/webhooks
https://developers.facebook.com/docs/whatsapp/api/webhooks/inbound

Thank you very much for any information.

@christophrumpel
Copy link
Collaborator

Hey @dafner , from what I know they have a kind of "early access" right now where people can apply for a business account. So I don't think you can use it right away now? I am sure it is planned to add a Whatsapp driver. Maybe I can start even today if @mpociot is up for it?

@mpociot
Copy link
Member

mpociot commented Aug 2, 2018

I’m already looking into it. But the docker setup makes a BotMan integration a bit harder to manage as every phone number is connected to one particular docker instance

@christophrumpel
Copy link
Collaborator

oh really? damn!

@mpociot
Copy link
Member

mpociot commented Aug 2, 2018

So we can make this work by simply configuring the WhatsApp client host and make api requests to this client.
I’m currently waiting to get my hands on the api

@dafner
Copy link
Author

dafner commented Aug 2, 2018

It would really be very interesting to be able to see whatsapp integration in this framework in the near future.

Thank you very much for the development of this framework and its continuous updates

@stefandanaita
Copy link

Hi @mpociot! Is this still on your roadmap? 😄Thanks!

@mpociot
Copy link
Member

mpociot commented Oct 4, 2018

I'm closing this right now, as my WhatsApp Business API application got rejected. If I can get my hands on the API to try it out, I'll make sure to reopen this.

@mpociot mpociot closed this as completed Oct 4, 2018
@holtkamp
Copy link
Contributor

holtkamp commented Oct 9, 2019

It seems Facebook prefers to work with partners like Twilio for this:

https://www.twilio.com/docs/sms/whatsapp/api

@aguerrerof
Copy link

Hello @mpociot , is botman already integrated with whatsapp (business)?

@rajendrap123
Copy link

Hello @mpociot Any update on this? waiting for this.

@sherpaxit
Copy link

sherpaxit commented Jul 19, 2020

In 360dialog you can use the whatsapp direct API .. Is there any chance to make a driver for Whatsapp Direct API ?? https://developers.facebook.com/docs/whatsapp/api/messages
Thanks!!!!

@eugenefvdm
Copy link

I'm subscribing to this topic. I want to use Twilio's WhatsApp Business API and pay for whatever, but for now it's unclear to me if Botman's Twilio integration actually works with their WhatsApp API. The current Twilio integration appears to be telephone related. Does any know?

FYI there is a beautiful and simple article here on how to get Laravel and the WhatsApp API working:
https://www.twilio.com/blog/build-whatsapp-chatbot-twilio-whatsapp-api-php-laravel

Now if I could combine that with Botman I could take our customer services to the next level.

@dimonise
Copy link

Hello. I would like to know - there is a solution for Whatsapp?

@eugenefvdm
Copy link

there is a solution for Whatsapp?

No, there is not a solution for WhatsApp. I will explain later. For now, you do this:

  1. Try using a WhatsApp partner like 360:

#1174

  1. Try using this person's code who "made it work" with Twilio:

#1228
refers to
https://github.com/jilenloa/botman-sample/tree/master/app/BotManDrivers

I tried but couldn't.

The reason for this difficulty is not a Botman problem. It's a WhatsApp Business API problem.

See WhatsApp got late to the API party and they are overly protective on who uses their API. As a mere end-user you would probably struggle to get your number approved - so WhatsApp prefers to work through 3rd parties.

You'll also see comment by Marcel about closing the issue due to approval problems. So WhatsApp is not friendly enough for Botman.

@modasto
Copy link

modasto commented Jun 23, 2021

there is a solution for Whatsapp?

No, there is not a solution for WhatsApp. I will explain later. For now, you do this:

  1. Try using a WhatsApp partner like 360:

#1174

  1. Try using this person's code who "made it work" with Twilio:

#1228
refers to
https://github.com/jilenloa/botman-sample/tree/master/app/BotManDrivers

I tried but couldn't.

The reason for this difficulty is not a Botman problem. It's a WhatsApp Business API problem.

See WhatsApp got late to the API party and they are overly protective on who uses their API. As a mere end-user you would probably struggle to get your number approved - so WhatsApp prefers to work through 3rd parties.

You'll also see comment by Marcel about closing the issue due to approval problems. So WhatsApp is not friendly enough for Botman.

Any one got this to work?

@rafaellannes
Copy link

I would like to know too.

I developed a bot using botman and it was very good, but there was a need to migrate it to whatsapp. I had to start again using other approaches.

It would be great if the botman could work.

@modasto
Copy link

modasto commented Jul 17, 2021

I would like to know too.

I developed a bot using botman and it was very good, but there was a need to migrate it to whatsapp. I had to start again using other approaches.

It would be great if the botman could work.

I did manage to get it to work with Twilio

@jawizie
Copy link

jawizie commented Dec 29, 2021

I would like to know too.
I developed a bot using botman and it was very good, but there was a need to migrate it to whatsapp. I had to start again using other approaches.
It would be great if the botman could work.

I did manage to get it to work with Twilio

How did you do it?

@legreco
Copy link

legreco commented Feb 17, 2022

Hello everyone,
any updates about this topic?

@irwan-runtuwene
Copy link

I've build custom driver for whatsapp business API. It's not fully functional yet just for text and button reply.
https://github.com/irwan-runtuwene/driver-whatsapp
Feel free to modify to suit your needs

@c-myers1
Copy link

@irwan-runtuwene : thank you for this. I see it's for the on-premises API, what changes are needed to get it working for Cloud API?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests