Skip to content
This repository was archived by the owner on Apr 1, 2022. It is now read-only.
This repository was archived by the owner on Apr 1, 2022. It is now read-only.

FB_VERIFY_TOKEN is none when is already set in .env file #124

Description

@LuisFerTR

Hi, I'm trying to setup the project but I have an issue checking webhook, when I execute

curl -X GET "<YOUR HOST>/webhook?hub.verify_token=<YOUR VERIFY TOKEN>&hub.challenge=CHALLENGE_ACCEPTED&hub.mode=subscribe&init_bot=true"

replacing <YOUR HOST> by localhost:5000 and <YOUR VERIFY TOKEN> by the string I wrote on .env file
I only receive "CHALLENGE_ACCEPTED", executing curl -X GET "<YOUR HOST>/webhook?hub.verify_token=<YOUR VERIFY TOKEN>&init_bot=true"

returns an error stack finishing with this message: ValueError: FB_VERIFY_TOKEN does not match.
I've already set other variables in .env file but nothing seems to change. Is there anything I'm skipping?

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions