-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The Smooch bot doesn't start anymore #19
Comments
This route is deprecated and the v1.1 API should be used instead; this endpoint is not explicitly called out anywhere in the code either - if you are including the latest smooch package the correct endpoint should be called to initialize the Smooch app/object. |
The project was made in 2016 based on https://github.com/alavers/smooch-bot-example I tried to update the dependencies to fix the issue, but the problem persists. I deleted the Smooch webhook (that was API version 1.0), and the app created a new Smooch webhook with API version 1.1 . Given the smooch-core version 8.1.0 resolved, I assume that is the correct one. This is package.json:
This is a fragment from package-lock.json:
|
I think that the problem comes from the cdn script file used: https://cdn.smooch.io/smooch.min.js (3.15.2) |
So, @MecuSorin do you solved this issue? I want create chatbot using this. |
@MecuSorin this code was intended as an example and was provided by an individual contributor, so was not maintained as the API has evolved. @enrinal to get started with our APIs, I invite you to refer to our public docs on how to send messages using the API and receive messages via webhook events. |
Noticed recently that the smooch bot integration doesn't work. Smooch doesn't support that route anymore?
Request:
Response:
The text was updated successfully, but these errors were encountered: