Digital Assistant and Mobile

Get Involved. Join the Conversation.

Topic

    Geetha Devi
    How to use Oracle Bot into google hangout? Anyone have any...Answered
    Topic posted October 11, 2019 by Geetha DeviBlue Ribbon: 750+ Points, tagged Alexa, Analytics, Android, API, Bots, Conversational AI, Facebook, iOS, MAX, Messaging, Mobile, Notification, OMCE, Siri, Slack, Tip, Virtual Assistant, VPA, WeChat 
    80 Views, 26 Comments
    Title:
    How to use Oracle Bot into google hangout? Anyone have any doc on this?
    Summary:
    how to integrate the OMH chatbot-UI as google hangouts.
    Content:

    I  would to login  the oracle mobile hub chats using the hangout credentials.

    Dailog Flow  channel as google hangout

    Best Comment

    Sharath Chandra Gavini

    Hi Geetha,

    I presume that you are asking to integrate ODA with Google Hangouts. If yes, there is no way to integrate ODA with the old Hangouts as Google doesn't provide API for the old version of Hangouts. You can integrate it with the latest Hangouts Chat though by setting up a webhook.
     

    For information on setting up the bots in Hangouts Chat visit this link.

    Thanks,
    Sharath Chandra Gavini.

    Comment

    • Geetha Devi

      Anyone please help me with this?

    • Sharath Chandra Gavini

      Hi Geetha,

      I presume that you are asking to integrate ODA with Google Hangouts. If yes, there is no way to integrate ODA with the old Hangouts as Google doesn't provide API for the old version of Hangouts. You can integrate it with the latest Hangouts Chat though by setting up a webhook.
       

      For information on setting up the bots in Hangouts Chat visit this link.

      Thanks,
      Sharath Chandra Gavini.

    • Geetha Devi

      Hi Sharath,

      Thanks for your valuable replay.

      Could you please help to find the required setup for ODA to Hangout integration?

      I have created a project in the hangout console administrator console.

      Enable the API hangout chat API.

      Stuck with configuration part chat API.

       

       

    • Geetha Devi

      Anyone, please help me.

      What is bot URL under connection setting in publishing bot ?

      Attaching the screenshot.

       

    • Geetha Devi

      Anyone help me on this.need urgent

       

      • Sharath Chandra Gavini

        Hi Geetha,
        The BotURL is the public URL of the webhook server that your Hangouts Chat needs to configured with (i.e, the server to which your Hangouts Chat messages are sent).
        You need to build an integration server and obtain a public URL of the server (you can use ngrok).
        Thanks.

    • Geetha Devi

      Hi Sharath,

      what is below value in your code config,js file

      module.exports = {
          channel: {
              url: "YOUR_CALLBACK_URL",
              secret: "YOUR_SECRET_KEY"
          },
          apiKey: "YOUR_API_KEY"
      }
      • Sharath Chandra Gavini

        Hi Geetha,
        The callback URL and the Secret Key are those that you obtain from the ODA after setting up a webhook channel.
        The API Key is the key obtained from the Google Cloud Console for Hangouts Chat API to work with your application.
        Thanks,
        Sharath Chandra Gavini.

         

        • Geetha Devi

          Thank for your replay.

          I have got the Call back URL and secret key and api key

          I would like what should be next I need to view ODA dialog in hangout chat window

           

           

           

    • Geetha Devi
      • Sharath Chandra Gavini

        Hi Geetha,
        You obtained a key for your service account. I am not sure if it can be used with the Hangouts Chat API. 
        You need to generate a key from your application dashboard. Please check the attached image.
        When you click on the create credentials tab for the first time, you will see a prompt screen, you can cancel it.
        Thanks,
        Sharath Chandra Gavini.

         

    • Show/Hide RepliesAnonymousposted October 16, 2019
      This has been deleted by the author
      • Sharath Chandra Gavini

        Yes, sure. What do you mean by nothing is happening?
        Did you message the bot on the Hangouts Chat?
         

        • Geetha Devi

          Sorry, how can I take bot on the hangouts Chat? you mean Bot URL?

          Could you please guide me on this?

           

           

           

          • Sharath Chandra Gavini

            Yes, the Bot URL that you used to setup the webhook needs to be added to the Google APIs Bots URL.
            And you can simply search for your bot in the Hangouts Chat and then start texting with the bot.
            If done correctly, all the messages from Hangouts Chat will be sent to the webhook server that you have set up which transforms the Hangouts Chat messages to ODA type and forwards the message to ODA. The same happens in the reverse order for the response.
            Thanks,
            Sharath Chandra Gavini.

    • Geetha Devi

      Hi Sharath,

      please help me with this?

      Thanks,

      Geetha

    • Geetha Devi

      I have chat through the bot but not responding .Attaching the screenshot.

      please advise on this 

      • Sharath Chandra Gavini

        Can you please show me what is being logged in the console?

         

        • Geetha Devi

          Hi Sharath,

          I cannot see any logs in the audit logs for today. see the attached screenshot of your reference.

          Can you share any docs to run ODA  in a hangout with your attached code? how to deploy your code in hangouts or Oracle ODA.

          appreciate the effort you put in here.

          Appreciate if you could help us here.

    • Geetha Devi

      Hi Sharath

      I have update hangout chat API configuration "bot url" under the connection setting. by making  as same the Outgoing Webhook URL in the ODA channel 

      Now i am getting below "Error: X-Hub-Signature signature not found" when running the index.js

      please help on this.

       

    • Geetha Devi

      Anyone, please help me with this  above issue?

    • Geetha Devi

      Hi Sharath,

      Could you please help me with this?

      Do you have any POC? kindly share with me

    • Geetha Devi

      Anyone, please help on this?

    • Geetha Devi

      Hi  Sharath,

      Could you please help me know. what is space in the post URL in your code?