Skip to content

fix: support separate Threads App ID from Meta#47

Open
tro2789 wants to merge 1 commit into
brightbeanxyz:mainfrom
tro2789:fix/threads-separate-app-id
Open

fix: support separate Threads App ID from Meta#47
tro2789 wants to merge 1 commit into
brightbeanxyz:mainfrom
tro2789:fix/threads-separate-app-id

Conversation

@tro2789

@tro2789 tro2789 commented May 23, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Meta assigns a distinct App ID for the "Access the Threads API" use case, which differs from the main Facebook App ID
  • Using the Facebook App ID for Threads OAuth results in error 4476002 ("No app ID was sent with the request")
  • Added PLATFORM_THREADS_APP_ID / PLATFORM_THREADS_APP_SECRET env vars with fallback to the shared Meta credentials when not set

Changes

  • config/settings/base.py: Added _THREADS_CREDENTIALS dict with fallback to _META_CREDENTIALS
  • .env.example: Documented the new env vars
  • README.md: Added step 6 explaining when/how to set separate Threads credentials

Fixes #45

Meta assigns a distinct App ID for the "Access the Threads API" use
case, which differs from the main Facebook App ID. Using the Facebook
App ID for Threads OAuth results in error 4476002 ("No app ID was
sent with the request").

Add PLATFORM_THREADS_APP_ID / PLATFORM_THREADS_APP_SECRET env vars
that fall back to the shared Meta credentials when not set.

Fixes brightbeanxyz#45

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@tro2789 tro2789 requested a review from JanSchm as a code owner May 23, 2026 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Threads not working “No app ID was provided in the request.”,“error_code”:4476002

1 participant