Facebook Messenger webhook in Bluemix - ibm-watson

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

Related

How to bypass user acknowledge (OAuth 2.0) for Google Calendar API usage?

I want to be able to make some basic Google Calendar integrations using the respective calendar API. Is there a way to achieve this (from a javascript side or from an ASP.NET or Node.js side) WITHOUT having the front-end user confirm on the acknowledgement screen (part of OAuth 2.0) auth process?
PS - I'm trying to provide the best user experience for my customers using my web app (ASP.NET React JS app). I have multiple services (e.g. Google Calendar, DropBox, and another 3rd party email provider) which I'm trying to tie altogether into a seamless UX.
Thanks.

Can the Gmail UI be embedded into a web application to interact with the web application (bidirectional)?

Is it possible to embed the whole Gmail UI into a web application and control it out of my web application (e.g. select a message by its sender) as well as the other way around that the web application can register, e.g. by callbacks, the activities going on in the Gmail UI (e.g. get all data from the selected/opened message)?
I reviewed the options available like maybe you could add an iFrame with the Gmail web interface to accomplish this. However, I found that Gmail, like most of Google's other web services, sets the HTTP header:
X-Frame-Options: SAMEORIGIN
Because of this, it disables the option of using an iFrame to access Gmail.
The only options available will be the Gmail API with this Google Cloud service
Or you can build your setup using the Gmail API, and link it to buttons in your web application that will call the methods to send email, searching for Messages, work with Drafts, etc. You can read more information about the Gmail API here.
Lastly, you can submit a missing feature request by following the information in this Google Documentation, so they can add the feature later on.

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

IBM Watson - Facebook ChatBot

I am trying to implement IBM Watson chatbot into facebook messenger. I am able to verify my webhook. Also, able to receive and send custom messages through facebook to my webhook locally.
But when another user tries to access my page and then send message from facebook to my chatbot, it fails to respond unlike when i message it locally. I donot understand why it could be failing? Any help/direction is much appreciated.
This is because you have not yet had your messenger bot reviewed and approved by Facebook. Until your bot goes through the review process, it can only be accessed by you.
You can invite other users to test your chatbot, and as #chughts mentions before you can go public Facebook has to approve.

Design decisions for Google App Engine hosted app using Google Apps APIs

I never used Google technologies to develop webapps before, and I'm a bit overloaded and confused. A lot of information.
My scenario: Developing a webapp for, say, company.com, using Google App Engine (Python, Webapp2, Jinja2...). The domain company.com is Google hosted (e-mail and calendars are the important parts here). So, I want my GAE-based app to add events to the domain users' calendar, send them e-mails, etc. The basic flow is:
A user of this domain logs into the web app, using his/her mail: myname#company.com. (IMPORTANT: Users CAN'T use their private GMail accounts, or any other OpenID-based authentication. Just their domain accounts). I know this can be configurated from the admin console, when creating the app.
The user fills a form, and a new calendar event is created. This event is added to his/her calendar, and to his/her manager's calendar too. The user receives a confirmation e-mail (event created) and the manager a notification e-mail (someone invited you...).
I've been reading a lot about authentication, authorization, google app engine and google apps, but I still don't have a clear image about what technologies/libraries/apis I should use.
I've seen a lot of examples using oAuth and Calendar API v2, but oAuth is deprecated, and seems that I should use oAuth2. Calendar API v2 is deprecated too, and v3 is recommended... I see a lot of entry points in the documentation, and I don't know where to start.
Any piece of advice is strongly appreciated. Many thanks in advance.

Resources