Skip to content
This repository was archived by the owner on Sep 20, 2024. It is now read-only.
This repository was archived by the owner on Sep 20, 2024. It is now read-only.

"bodyParser is not defined" in Facebook.js #1041

@lorenzhk

Description

@lorenzhk

botkit/lib/Facebook.js:368 webserver.post('/facebook/receive', bodyParser.json({verify: verifyRequest})); ^ ReferenceError: bodyParser is not defined

I believe the bodyParser require statement is needed but removed in v0.6.0

Activity

benbrown

benbrown commented on Sep 18, 2017

@benbrown
Contributor

DOH! Thanks for pointing this out. 0.6.1 will fix this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @lorenzhk@benbrown@peterswimm

        Issue actions

          "bodyParser is not defined" in Facebook.js · Issue #1041 · howdyai/botkit