I have followed the instructions as per the https://developers.google.com/hangouts/chat/how-tos/bots-develop?authuser=1
Created my agent - named as "phoebieagent".
Defined intents and entities.
Fulfilled by webhook and running a flask python API on https.
Published by bot as hangouts chat. Specified bot url to be the one
defined in step 3.
Bot status shows - "live" but in my hangouts I can't see my bot user.
Please suggest trouble shooting steps.
Thanks
Resolved it. Chat was disabled in google admin console.
Related
I finished to build my web app that is an chat bot that integrate with instagram chat. The intagration is working fine, now I'm trying to get approve from instagram to publish it.
I used the follow url to get user name after receive an chat in my webhook:
curl -X GET "https://graph.facebook.com/v14.0/instagram-scoped-user-id?fields=name,username,profile_pic,follower_count,is_user_follow_business,is_business_follow_user&access_token=page-access-token"
In my testes worked fine, and in docs say that I need permission "instagram_basic" to go to production.
My problem is that when I try to approve my application, I receive an erro:
"The use case of you app to this permission is invalid, or not necessary to main function of your app."
So what? They expect that my chat show the userid instead the user name on chatting between agent and user? WTF.
In search here in stack, I find:
How to get the instagram username from instagram messenger webhook_
The user #eljefedelrodeodeljefe said to use the exactly api that I'm using now.
Someone got approve for this? What's the trick or should I try use an different api?
Thank you.
I created test Chat Bot two month ago using Chat API and service account and used it.
Then I disabled the bot and remove Chat API from the project. But I still can find this bot in the Chat by the name. It has status Disabled but exists.
Is it possible completely remove it from G Suite domain available bots?
Disabling the Chat API should remove the bot from Hangouts Chat. Do you still see it after refreshing Chat or deleting your cache?
Three days ago, I set up a project for my bot in the Google API Console with the Hangouts Chat API enabled.
In a configuration tab I entered the information for the bot, and everything worked fine. Until now, I cannot edit any information in configuration tab. What happened?
enter image description here
The bot configuration will be frozen, once you publish the bot. The only workaround is to create a new identical bot with the configuration you wanted.
i want to know if there is any whatsapp api that can help me to send messages from my php project because after some research i found that whatsapp doesn't have any api for developers..
someone can help me please?
I used Google :
A quick google search with the proceeding query : "WhatsApp PHP API" gives us many results , the first result is a github page made by mgp25 a well known member of the github dev community.
Good luck!
You are absolutely right that whatsapp does not published the api for the such chatting using php .
By the way you can use the sharing uri to share text messages who have whats appp installed in their device or web chat option for whatsapp
Chat API: https://api.whatsapp.com/send?phone=15551234567
Custom URL: Scheme whatsapp://send?text=hello world
First one is used to open chat with the desired phone number and the second one is used to share some test as custom url format.
Whatsapp is now maintain by facebook and it has created a api for business to communicate with customers .
This it has launched api for whatsapp as well as for Facebook instagram .
You can have a look on the documentation portal for whatsapp api for more details
https://developers.facebook.com/docs/whatsapp/api/reference
Also there are partners of Facebook who give ready made solution to the productivity.
I was thinking of using the quickblox for my chat requirement.
We want to build a 1-1 chat between a user and admin. User will be logged in from the android and admin will be logged in from the web. We want the functionality for the user to chat with an admin person. Our backend code base is in PHP and both the android and web talks to the backend with rest APIs.
Some can please help me out on where should I start my development from. Can you share any sample code or tutorial to get me started with, it would be really helpful?
It may be solve like this
For PHP admin side
First you need to create the dialog for all the user
Then for selected user you will call the Retrieve_messages api for getting all the user
For sending the message you have to call Create_message
Ref : QuickBlox
For android they have their own SDK for sending and getting the message
Android SDK