Getting started with Messenger App development

#1

Hello all,

I am trying to create the simplest possible Messenger app to test things out.
After reading the docs, I created a Serverless service which returns a single component on init and logs the event on submit.

Unfortunately, I get an Internal Server Error message when trying to add my app to the Messenger.

Here is a Github repository I created to show you where I am - and what I did wrong:

Any input on how to get started would be greatly appreciated!

Hugo

0 Likes

#2

You need to wrap the response in a canvas object in your init call.
Like: https://github.com/THook/intercom-messenger/pull/1

3 Likes

#3

Thank you for your answer Marcel, it’s working now. I’ll keep updating the repo if anyone else needs an example to get started!

0 Likes

#4

my problem is also this one.

0 Likes

#5

@volkan I just updated the repo. If you have an account on AWS, you’ll just have to clone it, install dependencies and create a new Serverless service to make it work

1 Like

#6

Thank you @hugovillain, I was struggling to find out why I’m getting this error then I read this post. When we read the doc, we have to mix two part of the documentation to find out how to create a canvas. Now, I don’t have a problem on this.

1 Like