Digital Assistant and Mobile

Get Involved. Join the Conversation.

Posts

  • 1-10 of 10
  • Sharath Chandra Gavini
    Get the PSID of a Facebook User while in a conversationAnswered1
    Topic posted July 3, 2019 by Sharath Chandra GaviniBlue Ribbon: 750+ Points, tagged Bots, Conversational AI, Facebook 
    Title:
    Get the PSID of a Facebook User while in a conversation
    Summary:
    How do I get the PSID to use with the Graph API
    Content:

    Hi developers,
    How can I get the PSID of the user who is currently chatting with my bot from Facebook?

     

    Thanks in advance,
    Sharath Chandra Gavini

  • Taysir Shili
    chatbot developmentAnswered13.0
    Topic posted April 26, 2019 by Taysir Shili, tagged Bots, Facebook 
    Title:
    chatbot development
    Content:

    How the Bot receive image as message or attachment from a user and send the url of this image in a custom component 

  • Ameur Baccoucha
    How can we identify a user?Answered4
    Topic posted January 11, 2019 by Ameur BaccouchaGold Medal: 3,500+ Points, tagged Bots, Facebook, Virtual Assistant 
    Title:
    How can we identify a user?
    Summary:
    I want to know how to identify a user with whom the Bot has already had a discussion
    Content:

    Hi,
    What I'm asking is that the user's ID is the same for the user all the time or just for a session?
    if is for a session, how can I identify the user without using authentication (when using the fb channel for example) and having a conversation with the bot before

  • Sharath Chandra Gavini
    Webviews in Oracle Digital AssistantAnswered3
    Topic posted January 3, 2019 by Sharath Chandra GaviniBlue Ribbon: 750+ Points, tagged Bots, Conversational AI, Facebook 
    Title:
    Webviews in Oracle Digital Assistant
    Summary:
    Can we make the bot aware of the events that happen inside a webview or pass the control from a webview to the bot when the webview is closed?
    Content:

    Hi experts,
    There is a usecase where we would like to send a webview to the user (which is our own page). I wonder if there is any way of getting the data from the webview to the bot and vice-versa and also if there is any way to resume the conversation flow when the user closes the webviews? I am aware that we can use Instant apps for this purpose but can we also do this with our own HTML pages?
    Please advice.
    Thanks,
    Sharath Chandra Gavini.

  • Sikaar Keita
    Accessing userid and channel type from the dialog flow and...Answered65.0
    Topic posted November 12, 2018 by Sikaar KeitaGreen Ribbon: 100+ Points, tagged Alexa, Facebook, OMCE, Tip 
    Title:
    Accessing userid and channel type from the dialog flow and custom component
    Summary:
    I am looking ofr a proper way to access user information and channel information
    Content:

    Hi,

    I am looking for a proper way to access user information and channel information, from both Dialog Flow and Custom Component.

    My Bot is running on 3 different channels ( Alexa, Facebook Messenger, Website) and i would like :

    1) to have a switch proposing various options based on the invoking channel, thus my need to acces the channel type from the dialog flow. I have tried many things (channelType ... ) but nothing worked out. Same when trying to access it from a custom component.

    2) to have acess to userId, so i can access and store data. in the custom component i have tried body.message.channel.userId with no success

    3) For Alexa and FBM, i owuld also like to dig the account linking topic - ie capture the amazon id or facebook id of the user. So far with FBM i properly capture firstname and last name, how could i go further ? I couldn't find any details in the online documentation.

     

    Best Regards

  • 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)