Skip to content

PAGE_ACCESS_TOKEN and VERIFY_TOKEN Read With os.environ.get() — No Fallback #7

@AnisGLZ

Description

@AnisGLZ

Both critical secrets are read with os.environ.get("TOKEN") (or similar) with no validation that the returned value is non-None. If the environment variable is absent, the value None is used silently in API calls, producing confusing Facebook API errors rather than a clear startup failure.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions