cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
282
Views
1
Helpful
3
Replies

TIL: Node Bot Framework Websockets

If you're like me and have been building bots with Webex node bot framework, you've probably spent a lot of time spinning up ngrok webhook tunnels for development. Did you know that the framework now defaults to websocket mode, requiring no public address for your bot server or webhooks!?! Check it out here: https://github.com/WebexCommunity/webex-node-bot-framework/blob/main/docs/example3.md

What do you think? Are you sticking with webhooks or switching to websockets??

3 Replies 3

mparra.fusionet
Level 1
Level 1

Talked to Paul B @ Cisco Live to suggest to have official samples documentation for the python websockets well documented.

If it’s out there I might have missed it since what I am using is from google searches and other githubs (people smarter than me) but nothing exactly official, web sockets is great as long as there are not restrictions imposed by the libraries of the code (proxy support for example) or by the network.

 

 

You are correct, there is no "official" websocket method for python. The bot framework utilizes the websockets built into the JS SDK. I have come across a "non-official" python project that has websockets support at https://github.com/fbradyirl/webex_bot by @Finbarr Brady 

Janos Benyovszki
Cisco Employee
Cisco Employee

Great update, much needed option for sure.