fb-messenger-bot | : penguin : Facebook Bot | Bot library
kandi X-RAY | fb-messenger-bot Summary
kandi X-RAY | fb-messenger-bot Summary
A Node.js implementation of a Penguin Facebook Messenger Bot. Bot name: TotallyPenguin Bot page: TotallyPenguin.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of fb-messenger-bot
fb-messenger-bot Key Features
fb-messenger-bot Examples and Code Snippets
Community Discussions
Trending Discussions on fb-messenger-bot
QUESTION
I'm currently using NodeJS to build a bot on AWS lambda via AWS Api Gateway and I'm running into an issue with POST requests and JSON data. My api uses 'Use Lambda Proxy integration' and even when I test the proxy sending a content-type of Application/json and some json in the body e.g {"foo":"bar"}
I can't access the object without parsing it first
e.g
...ANSWER
Answered 2018-Feb-25 at 20:38There are two different Lambda integrations you can configure in API Gateway, such as Lambda integration and Lambda proxy integration. For Lambda integration, you can customise what you are going to pass to Lambda in the payload that you don't need to parse the body, but when you are using Lambda Proxy integration in API Gateway, API Gateway will proxy everything to Lambda in payload like this,
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install fb-messenger-bot
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page