IBM Watson - Facebook ChatBot - ibm-watson

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.

Related

Hangouts Chat Email alert like slack email app

I'm looking to move from Slack to Hangouts Chat, but heavily rely on getting alerts on chat sent from email. What's the easiest way to create an Alert in Hangouts Chat like the Email App in Slack.
The way the Slack App works is that it provides a specialized email address like: randomKey#company.slack.com
then when an email is received to the specialized email address it posts the contents to a channel.
any help would be appreciated. Currently I see other suggestions out there that do time-based triggers with email filters (How to trigger a Google Apps Script once an email get in the inbox?). But not sure if this is the easiest way / best way.
As of now, there is no direct integration between hangouts chat and Gmail. There are some workarounds that you can use to achieve your goal. The most popular approach is to use Push Notification Services of Gmail API using Pub/Sub which reads a particular email received in your inbox. Receiving this email you can then invoke your hangouts chat or send alerts to hangouts chat room via webhook.
Push Notification Documentation
Hangouts Chat API Documentation
Hope this answers your question!!!

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

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

Salesforce authorize an application without browser

Hello guys I am trying to authorize my salesforce android application ,I followed this post https://developer.salesforce.com/page/Digging_Deeper_into_OAuth_2.0_on_Force.com
Here I found information regarding authentication but my problem is
I want to get authorization code through http request ,In the post it said that we are able able to get that when the browser redirected with the code contained in the url. Is it possible to do that in a non-browser application
The Username and Password Flow only requires your application to interact with Salesforce servers. You don't need to redirect the users browser.
Of course, you shouldn't be prompting users for their credentials if you can help it.

Auto subscribe a user when signing up to app

This is so interesting question, I think. I am developing a chat application using xmpp in google go. Upon testing, I could not send chat message to a google user unless that user would add my app as contact or initiate the chat session via gtalk/chat at his gmail account. Is it possible to subscribe the user to my app when he signup for membership in my app? User service does not have any properties for this nor a hash or code or cookie for me to store and know that this user has approved sending chat from the app. Thanks a lot!
No, this is not possible. The user has to give explicit permission to add your bot to their contact list; simply signing in is not enough.

Resources