Skip to content

feat: add twitter session safety checks#5

Open
777genius wants to merge 1 commit into
m13v:mainfrom
777genius:feat/twitter-session-safety
Open

feat: add twitter session safety checks#5
777genius wants to merge 1 commit into
m13v:mainfrom
777genius:feat/twitter-session-safety

Conversation

@777genius

Copy link
Copy Markdown

Summary:

  • Add Twitter/X whoami and headed login helper commands
  • Read expected handle from TWITTER_HANDLE or config accounts.twitter.handle
  • Add TWITTER_HEADLESS, TWITTER_PROFILE_DIR, TWITTER_BROWSER_EXECUTABLE, and TWITTER_ALLOW_ANY_HANDLE overrides
  • Validate the active X account before treating the profile as ready
  • Use a visible maximized persistent profile for manual login flows

Tests:

  • python3 -m py_compile scripts/twitter_browser.py
  • git diff --check
  • staged diff reviewed for local config, accounts, tokens, cookies, and product-specific data

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.

1 participant