microsoft / BotFramework-Services

Microsoft Bot Framework Services
Creative Commons Attribution 4.0 International
38 stars 11 forks source link

ChatConnector: startConversation - address is invalid. #90

Closed sagarmodhavaniya closed 5 years ago

sagarmodhavaniya commented 5 years ago

i am got the error inside the bot.loadSession(event.address, (err, session) => {} Here the session are undefined null session are revived Error: Invalid address. i am try to use the session.messages.address are undefined so display error

v-kydela commented 5 years ago

Hello @sagarmodhavaniya

Can you explain what you're ultimately trying to accomplish?

Are you using the v3 Node SDK? Would you consider migrating to the v4 SDK?

sagarmodhavaniya commented 5 years ago

yes i am using sdk 3 i am try to make bot for whatsapp using twillo in Microsoft bot framework

v-kydela commented 5 years ago

@sagarmodhavaniya - Can you provide screenshots and a minimum verifiable example and steps to reproduce the problem?

sagarmodhavaniya commented 5 years ago

problem are identified now Microsoft bot framework are not support the twilio whatsapp messages only support the twilio SMS so this error are accursed

v-kydela commented 5 years ago

@sagarmodhavaniya

Yes it's true that the Bot Framework does not currently support WhatsApp, but you can track the progess here: https://github.com/Microsoft/BotFramework-Services/issues/7

There may be workarounds you can implement, as described here: https://stackoverflow.com/a/55367260/2122672

You can see the Twilio API for WhatsApp here: https://www.twilio.com/whatsapp

This article describes some of the longstanding barriers for anyone creating WhatsApp bots even without using the Bot Framework, and it may offer another potential alternative: https://medium.com/@AlfredBaudisch/how-a-whatsapp-bot-got-famous-and-evolved-as-the-brazilian-wechat-and-conversational-commerce-e2213262183d

sagarmodhavaniya commented 5 years ago

there is anthher way i found to make whatsapp bot using the Microsoft-bot framework + twilio if you have webchat,facebook have in Microsoft-bot framework and you need to develop the whatsapp bot yo can do it it's pretty simple