Microsoft Bot Framework Hello World
January 2020: The MBF webiste and Azure portal have been ugraded significantly since this was written, but broadly speaking, things remain the same.
These files in principle (setup June 2016) get you started with a Microsoft Bot Framework "Hello World" chatbot on Heroku node.
The app is based on the MBF document version and an earlier SarahSays version that is archived.
One needs a Microsoft Account (I've had a Hotmail account since ages), then an Azure Portal account where you need to opean a Subscription.
Then go to Microsoft Bot Framework and sign in with your Microsoft Account. Register a bot. When you click Edit to edit the bot configuration, click "Manage Microsoft App and password" and make sure that the Application Registration Portal picks up your Bot Framework AppId. The APR has the ApplicationId for the bot (in the app.js, it is MY_APP_ID). Click "Generate New Password" to do just that. Copy as it is "MY_APP_PASSWORD in app.js.
Enter these two keys on the Heroku Settings page Reveal Config Vars.
For node on Heroku, one needs to set the port up as done in app.js and explained on StackOverflow.
The Heroku Domain on the config page point is the end point that goes on the Microsoft Bot Framework configuration (something like https://your_heroku_personal_app_name.herokuapp.com/api/messages) with messages/app (for app.js) tagged on to give https://your_heroku_personal_app_name.herokuapp.com/api/messages.
"Test connetion to your bot" at MBF gives the response "Accepted" if the Heroku account is recognised (but it does not mean that the bot is working properly, notably message replies).
Web and Skype integration at MBF are straightforward. We no longer have a working version of Hello World. The MBF version of the FIDICbot used to be at fidicbotmbf.heroku.com but we no longer maintain the Heroku deployment.
We supposed in June 2016 that KiK integration would be OK although KiK does not seem to be accepting the creation of new bots these days.
We use Smooch for multichannel integration for the main FIDICbot integration on SMS, Telegram, Messenger, Viber and LINE. WeChat proved complicated (getting an Official Account is OK; getting the OA authenicated so that one can at least have WeChat integration for WeChat users outside China is difficult). In the end we managed to get FIDICbot working in a sandboxed account.
The MBF version of FIDICbot for Skype has a read.me that serves as the online help page. This help page references the FIDIC.tips help page for the main (Smooch-integrated) version of FIDICbot (for SMS, Messenger, Telegram, Viber, and LINE and fidic.pw) at FIDIC.tips/FIDICbot.
The current MBF version of FIDICbot is deployed on Azure and the Github repository is MBF.
We recently set up a Twitter DM version (see @FIDICbot) that does not us Smooch as the channel integrator. This will be described separately (see FIDIC.tips for a summary).