Posts tagged with whatsapp

I have a facebook page which posts image content regularly on it's feed. I want to create a Whatsapp account (preferably a bot) which people can subscribe to with a message, and start receiving all the new posts on the page as Whatsapp message from that number.

The following is the approach I want to follow.

  1. Create a subscription mechanism: Save the contact number of all users who send 'SUBSCRIBE' to my number to a broadcast list.
  2. Use facebook graph API to check for new posts on my facebook page feed.
  3. If there is a new post on the page feed, send the content to broadcast lists created in second step.

The second step can be easily done in python using the well documented graph api. The first and third step however seems complicated as the Whatsapp business API access is subject to approvals and the third party solutions are not well documented. What would be the best approach to implement the first and third steps mentioned above, preferably in python?

Working with a customer who wants to use Microsoft Bot Framework and "Whatsapp" as a channel. Though Whatsapp has released its public business API, it is still in limited public preview and Microsoft Bot Framework understandably doesn't yet support it. As an alternate, we are planning to use "Clickatell" for whatsapp integration, where Bot Framework would call the Clickatell APIs and enable integration with Whatsapp. Has anyone worked on this scenario and can throw some light on any challenges? such as how this custom channel would work and how security etc would be handled in the non-standard channel (Whatsapp)

Thanks

I'm working on WhatsApp API Business. So... I did registered the docker container some times before, but I had to reinstall them and this time I was unable to register the container again. When I try to request a register code I receive this kind os response:

POST {{URL}}/v1/account {     "meta": {         "api_status": "stable",         "version": "2.19.4"     },     "errors": [         {             "code": 1005,             "title": "Access denied",             "details": "There was an error verifying this phone number. Please try again later."         }     ] } 

I checked if the docker containers are running and everything looks like working well.

[root@xxxx 2-19-4]# docker ps -a CONTAINER ID        IMAGE                                 COMMAND                  CREATED             STATUS              PORTS                                NAMES bee4beefa6e7        docker.whatsapp.biz/web:v2.19.4       "/opt/whatsapp/bin/w…"   About an hour ago   Up About an hour    0.0.0.0:9090->443/tcp                2-19-4_waweb_1 a52b9c98e2f2        docker.whatsapp.biz/coreapp:v2.19.4   "/opt/whatsapp/bin/w…"   About an hour ago   Up 23 minutes       6250-6253/tcp                        2-19-4_wacore_1 13a961e53501        mysql:5.7.22                          "docker-entrypoint.s…"   About an hour ago   Up About an hour    33060/tcp, 0.0.0.0:33060->3306/tcp   2-19-4_db_1 

Anyone that passed and fixed this before could help me?

Thanks