Wednesday, 5 April 2017

localtunnel issue with facebook botkit

i'm having an issue with localtunnel and facebook botkit on this link. I setup all the correct fields in the .env file (USE_FACEBOOK=true, watsonID, PSW, etc...). I open the cmd and type

'lt --s foo --p 5000'

where foo is my appname, the reply is

'your url is: https://foo.localtunnel.me'.

I type 'node server.js' and:

_info: ** No persistent storage method specified! Data may be lost when process shuts down. info: ** Serving webhook endpoints for Messenger Platform at: http://MY_HOST:undefined/facebook/receive Facebook bot is live Client server listening on port 5000_

So i think the problem is here, because it doesn't show the correct url. Next i go on facebook dev page and when i try to setup the webhook it says 502 bad gateway. Can you help me solving this problem please?



via OiRc

No comments:

Post a Comment