Skip to content
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

Can't reply to messages #3

Closed
austinhuang0131 opened this issue Nov 9, 2017 · 7 comments
Closed

Can't reply to messages #3

austinhuang0131 opened this issue Nov 9, 2017 · 7 comments

Comments

@austinhuang0131
Copy link

austinhuang0131 commented Nov 9, 2017

Action: Send any message to the bot (The bot is supposed to reply to every message)

Result: No reply

2017-11-09T14:23:31.909639+00:00 app[web.1]: �[36m[2017-11-09 14:23:31.908] [DEBUG] �[39m�[36mValidating signature 'undefined' == '8e2424a0e9f276633233d569ac17b55efca8b8389f520d65eed4b6d16ae58978'�[39m

Might be Is actually a problem with viber-bot-node but they don't even have a issue section. I used restify for middleware though (Since botbuilder uses restify anyways).

@alexsorokoletov
Copy link
Contributor

@austinhuang0131 our bot is running in production. Is that the log you're getting with your new changes?

Did you follow all steps in the readme to configure the bot?

@austinhuang0131
Copy link
Author

austinhuang0131 commented Nov 14, 2017

I used restify for the middleware (Since I already have restify set up and I don't think restify and express can be together, i guess)

var restify = require("restify");
var server = restify.createServer();
server.post('/api/messages', connector.listen());
server.post('/viber', viberChannel.listen());

@austinhuang0131
Copy link
Author

In #2 I also added Webhook options into the setup (i.e. Your library will setWebhook instead of having us to manually set it). But it still doesn't work.

@alexsorokoletov
Copy link
Contributor

@austinhuang0131 do you still need help on this setup?

@austinhuang0131
Copy link
Author

My Viber account (and my bot) is gone so I guess I can't do anything anymore

@alexsorokoletov
Copy link
Contributor

Sorry to hear that...

@austinhuang0131
Copy link
Author

I mean also Viber says Public Accounts is now for big brands/celebrities only

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants