-
Notifications
You must be signed in to change notification settings - Fork 26
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
Integration of Botmill with Spring-boot #127
Comments
Is it possible to integrate botmill with spring-boot |
Yes it is. BotMill framework is just a java library. You can call the built in class load functions we have to load the bots on your Spring-Boot start up context.
|
Hi, I got everything setup and seems everything is working fine. I can see the request in the log also. But the Bot doesn't reply to any messages. Is there any other configuration that we need to do.
|
Hi, This got resolved when I updated the version to RC-03-snapshot. Thanks |
Can you paste your method here? Did you pass the message envelope object?
…On Tue, Jul 4, 2017 at 6:44 AM Manojjanaka ***@***.***> wrote:
Hi,
I got everything setup and seems everything is working fine. I can see the
request in the log also. But the Bot doesn't reply to any messages. Is
there any other configuration that we need to do.
12:02:38.784 DEBUG [main][FbBotMillNetworkController] Confirmation from Facebook. Recipient ID: [null], Message ID: [null], Result Message: [success]
12:02:59.911 DEBUG [http-nio-8080-exec-1][FbBot] AbstractFbot - Start Initialize
12:02:59.911 DEBUG [http-nio-8080-exec-1][FbBot] AbstractFbot - End Initialize
12:02:59.911 INFO [http-nio-8080-exec-1][BotMillServlet] BotMill servlet started.
12:02:59.927 DEBUG [http-nio-8080-exec-1][FbBotMillServlet] JSON input: {"object":"page","entry":[{"id":"1723442377696212","time":1499162574914,"messaging":[{"sender":{"id":"1328610440586613"},"recipient":{"id":"1723442377696212"},"timestamp":1499162574757,"message":{"mid":"mid.$cAAZFhUaSwZZjPlLHpVdDQ7ZYAO6p","seq":35602,"text":"hi"}}]}]}
12:03:24.559 DEBUG [http-nio-8080-exec-2][FbBotMillServlet] JSON input: {"object":"page","entry":[{"id":"1723442377696212","time":1499162604131,"messaging":[{"sender":{"id":"1375110925911070"},"recipient":{"id":"1723442377696212"},"timestamp":1499162603940,"message":{"mid":"mid.$cAAZFgVAy_e5jPlM5pFdDQ3wpZo1b","seq":226,"text":"Hi"}}]}]}
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#127 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AERYw48ObUlEqZvhw3NmueYs303mNU5Sks5sKheFgaJpZM4OKZ67>
.
|
Actually what I did was, I added the FbBotMillServlet to the spring boot context by
And then I created the FbBot as follows
and used the 2.0.0-RC3-SNAPSHOT as the dependency. You can find the sample project here |
No description provided.
The text was updated successfully, but these errors were encountered: