How to create custom UI for Azure QnA Bot in react? - reactjs

I am working on an application where I have created and published a QnA chatbot on Azure. Now, I want to create a custom API using React for the QnA Bot. I have gone through documentation from microsoft regarding using of botframework-webchat package, but there is no clear code written as to how to call the Bot with out exposing secret key and by creating a token.
Can anyone please help me in here.

Related

Authorization flow for Microsoft graph API in django and react

I am trying to integrate Microsoft Graph API with my Django backend application. I want to be able to read, manage and send emails on behalf of users.
The frontend is built with React
My issue now is how the authorization flow will work. I want users to authorize the app(prolly using Oauth) on the frontend after which I will get some kind of access code that I can save on the backend and subsequently use to make requests to the graph APIs on the user's behalf
Pls, how do I achieve this flow ??
Any help will be appreciated. I have been scrambling through the docs all day, need someone to point me in the right direction
Get access on behalf of a user:
Follow this documentation for more information: https://learn.microsoft.com/en-us/graph/auth-v2-user

Why isnt the watson assistant conversation working for other users?

I've currently installed Watson Assistant chatbot for one of my clients new websites that was created with Wordpress. When I view the website the chatbot preforms correctly with an introductory message and is able to respond to questions. When he views the website the chatbot is there but does not display the introduction message and doesn't respond to any messages. The website is chrisduffey.ai
Thanks for any help.
In the browser dev tools, there's 401 unauthorized error
{"code":"rest_cannot_access","message":"Only authenticated users can access the REST API.","data":{"status":401}}
Link to the error
There's an IBM Watson Assistant WordPress plugin available to use with your Wordpress.org website and here are the step-by-step instructions to set up the plugin with your credentials

How to perform OAuth in React app to use Jira rest API

I want to make a call to the Jira REST API to get a list of tasks for a user but I'm not really sure how to go about authenticating. All the Jira documentation suggest OAuth but I can't figure out how to implement this using React. Can anyone point me to some documentation or an example of how to perform OAuth in React?
Thanks

Facebook Messenger webhook in Bluemix

I am developing a chatbot in IBM Bluemix. When I try to integrate with Facebook Messenger, it asks about webhook.
I am just running a simple app, available on GitHub.
I want to know how to integrate Messenger with Watson conversation API.
The web hook is the API (GET and POST) in your application that Facebook, and your application, will use to handshake and send Messenger messages to your application.
Its not too difficult to set-up, there is a good set of instructions that come with a Node-RED node for Facebook messenger - https://www.npmjs.com/package/node-red-contrib-facebook-messenger-writer
Adding to that, you can also look at middleware plugin that allows developers to easily integrate a Watson Conversation workspace with multiple social channels like Slack, Facebook, and Twilio. https://github.com/watson-developer-cloud/botkit-middleware

How to embed a SFDC portal page into website

I am currently trying to understand if it is possible to either embed SFDC portal / comunity pages or components (cases, knowledge, Ideas) into an external web site.
Have an existing public facing website that allows customers to login, from within that want to expose the cases, knowledge & chatter functionality from SFDC community into that site.
Looking for the end user experience to be seamless and avoid any popups regarding security/credentials. Ideally it as if that data was coming from our website and not SFDC.
Thinking of using the OAuth 2.0 JWT Bearer Token Flow to perform the authentication from our website into SFDC and leverage SFDC community license.
What i am struggling with is how to then expose cases for example without having to use the API to just get a list of case records and then have to rebuild the case page UI in my own website.
All thoughts & suggestions or examples of this in action would be greatly appreciated - Thanks!

Resources