palindromed / Bot-HandOff

MIT License
102 stars 79 forks source link

botframework 4.0 #35

Open maheshcv opened 5 years ago

maheshcv commented 5 years ago

Is there any plan to port this very useful code to microsoft latest botframework 4.0?

vinayak99999 commented 5 years ago

@maheshcv i am not able to run this code. pls help me out...I am using nodejs sdk 3.0 pls let me know how did you run this .https://github.com/palindromed/Bot-HandOff I refered this link but I am not able to run plss help

maheshcv commented 5 years ago

@maheshcv i am not able to run this code. pls help me out...I am using nodejs sdk 3.0 pls let me know how did you run this .https://github.com/palindromed/Bot-HandOff I refered this link but I am not able to run plss help

Just follow the instructions in the git home page above (readme.md). It works fine in 3.0 bot framework.

vinayak99999 commented 5 years ago

@maheshcv I want to use with restify server instead of express. Is it possible?

ashay-maheshwari commented 5 years ago

This might probably be too old or support URLs might have changed. The code snippet is not found to be working when used as it is provided one changes the required keys in environment variables. I am getting the following errors on developer console of chrome -

Refused to apply style from 'https://unpkg.com/botframework-webchat@4.2.0/botchat.css' because its MIME type ('text/plain') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
localhost/:21 

GET https://unpkg.com/botframework-webchat@4.2.0/botchat.js net::ERR_ABORTED 404

connectToBot.js:11 Uncaught ReferenceError: BotChat is not defineat connectToBot.js:11

I checkted the URLs mentioned specially https://unpkg.com/botframework-webchat@4.2.0/botchat.css and found Cannot find "/botchat.css" in botframework-webchat@4.2.0

CDN does not have this file. Can someone suggest that where can we get those missing files to get this example running.