Digital Assistant and Mobile

Get Involved. Join the Conversation.

Posts

  • Abhishek Singh
    My bot using facebook channel, not replying to general...35.0
    Topic posted August 30, 2018 by Abhishek SinghRed Ribbon: 250+ Points, tagged Bots, Facebook, Messaging 
    Title:
    My bot using facebook channel, not replying to general public, only to me(developer)
    Summary:
    My bot is working well and replies well when i am interacting with it using the developer credentials for the facebook messenger, but it is not replying to general public, not sure why?
    Content:

    My bot is working well and replies well when i am interacting with it using the developer credentials for the facebook messenger, but it is not replying to general public, not sure why?

    What further steps need to be done to make it(bot) respond to any person saying hi to my bot. My Bot name is

    "CapGstore".

    Document:
  • Ameur Baccoucha
    Translation problem with the facebook channelAnswered85.0
    Topic posted August 28, 2018 by Ameur BaccouchaGold Medal: 3,500+ Points, tagged Bots, Facebook, Messaging 
    Title:
    Translation problem with the facebook channel
    Summary:
    I use the google translation service and everything is fine in the botui tester but it does not work in the Facebook channel.
    Content:

    Hello,

    everything work on the botUI tester but in the facebook channel when I type "hi", I receive the welcome message that I put in english. but when I type "bonjour" I receive the message of the "unresolvedIntent" in english.
    any idea please.
    Thank you

  • Filip Huysmans
    Chatbot: Working with versions in production35.0
    Topic posted August 16, 2018 by Filip HuysmansRed Ribbon: 250+ Points, tagged Bots, Facebook 
    Title:
    Chatbot: Working with versions in production
    Summary:
    What is the advice way of working with chatbots in production?
    Content:

    Hi,

    what is the best approach of working with bots in production?  Once the bot is put into production and linked with facebook messenger, how can we put in place a new version without disrupting the existing conversations?  

    Do we work directly in the production bot or do we have a second bot aside ?

    Thx

  • Asser
    Where is the user's data stored in the DB?15.0
    Topic posted August 1, 2018 by Asser Green Ribbon: 100+ Points, tagged Analytics, API, Facebook, Messaging, OMCE 
    Title:
    Where is the user's data stored in the DB?
    Summary:
    I want to make a list of all users that have interacted with my bot, displaying their first name, last name etc.
    Content:
    I want to make a list of all users that have interacted with my bot, displaying their first name, last name etc. I want to get this data from the database.

    Info about the bot:
    My bot asks the user a few questions. After answering the questions, a custom field/property is set to true for that user.
     
    questionsend:
        component: "System.SetVariable"
        properties:
          variable: "questionsanswered"
          value: true
        transitions: {}
    save:
        component: "System.CopyVariables"
        properties:
          from: "questionsanswered"
          to: "user.questionsanswered"
        transitions: 
          return: "save"
    
    Now my question is: Where is all this data stored in the db?
     
    So far, I have found a conversation history in the BOTS schema, table BOTS_CONVERSATION_HISTORY_. 
    Here is the user's ID (under CHANNEL_USER_ID) but I can't find where it's linked to (no foreign key here, see attached image).
    I couldn't find any tables containing channel users, or all bot users in general (users interacting with bots, not users of the database).
    image1
     



     

    As I said, there's no foreign key or so that I could track it



    Where do I get the user's first name from the database? As in ${profile.firstName}. And where do I get the custom fields from? As in ${user.age}
        component: "System.CommonResponse"
        properties:
          metadata:
            responseItems:
            - type: "text"
              text: "Hey ${profile.firstName}!..."
    
  • Asser
    How to access an API without credentials?25.0
    Topic posted July 10, 2018 by Asser Green Ribbon: 100+ Points, tagged API, Bots, Facebook, OMCE, Tip 
    Title:
    How to access an API without credentials?
    Content:

    On OMCe I have made a backend, added an API, and set the endpoints. I have set the "Login Required" switch to "off" (see image api_1.png). I assume that with this it should not ask for Authorization headers, but it returns a 401 unauthorized response (see image api_2.png).

    When I add Authorization header and Oracle-Mobile-Backend-ID to the GET request, it works fine (see image api_3.png).

    Is it possible to make a simple GET request to the API without having to provide the credentials? OR, can I add the access token and backend ID as a query param?

    Image:
    Document:
    api_2.PNG (38KB)
    Document:
    api_3.PNG (39KB)